This commit is contained in:
Robert Miles 2023-03-21 18:38:03 +00:00
parent be6b1e52df
commit 49f6ac1c1a
3 changed files with 5 additions and 5 deletions

View File

@ -1,8 +1,8 @@
import plugin,utils,random,importlib import plugin,utils,random,importlib
importlib.reload(utils) importlib.reload(utils)
chars = utils.get("https://github.com/cwarwicker/discord-WriterBot/raw/master/assets/json/en/q_char.json") chars = utils.get("https://github.com/mblake/discord-WriterBot/raw/master/assets/json/q_char.json")
world = utils.get("https://github.com/cwarwicker/discord-WriterBot/raw/master/assets/json/en/q_world.json") world = utils.get("https://github.com/mblake/discord-WriterBot/raw/master/assets/json/q_world.json")
@plugin.group("ask","<c/w>") @plugin.group("ask","<c/w>")
def ask(bot,channel,nick,subcmd,*args): def ask(bot,channel,nick,subcmd,*args):

View File

@ -17,7 +17,7 @@ GENERATORS_LIST = [
"land", "land",
"place" "place"
] ]
GENERATOR_URL = "https://github.com/cwarwicker/discord-WriterBot/raw/master/assets/json/en/gen_{}.json" GENERATOR_URL = "https://github.com/mblake/discord-WriterBot/raw/master/assets/json/gen_{}.json"
def get_generator(name): def get_generator(name):
generator = utils.get(GENERATOR_URL.format(name)) generator = utils.get(GENERATOR_URL.format(name))
out = dict() out = dict()

View File

@ -1,8 +1,8 @@
import plugin,utils,random,importlib import plugin,utils,random,importlib
importlib.reload(utils) importlib.reload(utils)
quotes = utils.get("https://github.com/cwarwicker/discord-WriterBot/raw/master/assets/json/en/quotes.json") quotes = utils.get("https://github.com/mblake/discord-WriterBot/raw/master/assets/json/quotes.json")
reassure = utils.get("https://github.com/cwarwicker/discord-WriterBot/raw/master/assets/json/en/reassure.json") reassure = utils.get("https://github.com/mblake/discord-WriterBot/raw/master/assets/json/reassure.json")
@plugin.command("quotes") @plugin.command("quotes")
def _quotes(bot,channel,nick,*args): def _quotes(bot,channel,nick,*args):