Changes to tacibase mean this
This commit is contained in:
parent
1db31f55a9
commit
2e28cab8e2
|
@ -1,6 +1,8 @@
|
||||||
{
|
{
|
||||||
"VERSION": "x.x type",
|
"VERSION": "x.x type",
|
||||||
"DESCRIPTION": "a basic base for bots, designed by taciturasa.",
|
"DESCRIPTION": "a basic base for bots, designed by taciturasa.",
|
||||||
|
"REPO": "",
|
||||||
|
"SERVER": "",
|
||||||
"MAINTENANCE": false,
|
"MAINTENANCE": false,
|
||||||
"TOKEN": "",
|
"TOKEN": "",
|
||||||
"DBL": "",
|
"DBL": "",
|
||||||
|
@ -12,6 +14,10 @@
|
||||||
"PREFIXLESS_DMS": true,
|
"PREFIXLESS_DMS": true,
|
||||||
"MENTION_ASSIST": true,
|
"MENTION_ASSIST": true,
|
||||||
"CUSTOM_HELP": true,
|
"CUSTOM_HELP": true,
|
||||||
|
"INFO_HOOK": "",
|
||||||
|
"WARN_HOOK": "",
|
||||||
|
"ERROR_HOOK": "",
|
||||||
|
"DEBUG_HOOK": "",
|
||||||
"PERMS": null,
|
"PERMS": null,
|
||||||
"BLOCKED": []
|
"BLOCKED": []
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,8 +60,10 @@ class Core(commands.Cog):
|
||||||
|
|
||||||
msg = f"__**{self.bot.user.name}**__ - _{self.bot.description}_\n\n"
|
msg = f"__**{self.bot.user.name}**__ - _{self.bot.description}_\n\n"
|
||||||
msg += f"This instance by **{self.bot.appinfo.owner}.**\n\n"
|
msg += f"This instance by **{self.bot.appinfo.owner}.**\n\n"
|
||||||
msg += "**Source Code:** _<https://github.com/taciturasa/searchbot-discord>_\n"
|
if self.bot.config['REPO']:
|
||||||
msg += "**Support Server:** _<https://discord.gg/4BpReNV>_\n\n"
|
msg += f"**Source Code:** _<{self.bot.config['REPO']}>_\n"
|
||||||
|
if self.bot.config['SERVER:']:
|
||||||
|
msg += f"**Support Server:** _<{self.bot.config['SERVER']}>_\n\n"
|
||||||
msg += "_Note: Please attempt to contact the hoster of any separate instances before this server._\n"
|
msg += "_Note: Please attempt to contact the hoster of any separate instances before this server._\n"
|
||||||
msg += f"_See **{ctx.prefix}**`help` for help, `invite` to add the bot, and `stats` for statistics._"
|
msg += f"_See **{ctx.prefix}**`help` for help, `invite` to add the bot, and `stats` for statistics._"
|
||||||
|
|
||||||
|
@ -218,7 +220,7 @@ Number of extensions present: {len(ctx.bot.cogs)}
|
||||||
await ctx.guild.leave()
|
await ctx.guild.leave()
|
||||||
else:
|
else:
|
||||||
await ctx.send(
|
await ctx.send(
|
||||||
"**Can't leave!** _This channel is not inside a guild_")
|
"**Can't leave!** _This channel is not inside a guild._")
|
||||||
|
|
||||||
def cog_unload(self):
|
def cog_unload(self):
|
||||||
self.bot.help_command = self._original_help_command
|
self.bot.help_command = self._original_help_command
|
||||||
|
|
Loading…
Reference in New Issue