mirror of
https://github.com/polyjitter/searchbot-discord.git
synced 2024-08-14 22:46:55 +00:00
Changes to tacibase mean this
This commit is contained in:
parent
1db31f55a9
commit
2e28cab8e2
2 changed files with 12 additions and 4 deletions
|
@ -1,6 +1,8 @@
|
|||
{
|
||||
"VERSION": "x.x type",
|
||||
"DESCRIPTION": "a basic base for bots, designed by taciturasa.",
|
||||
"REPO": "",
|
||||
"SERVER": "",
|
||||
"MAINTENANCE": false,
|
||||
"TOKEN": "",
|
||||
"DBL": "",
|
||||
|
@ -12,6 +14,10 @@
|
|||
"PREFIXLESS_DMS": true,
|
||||
"MENTION_ASSIST": true,
|
||||
"CUSTOM_HELP": true,
|
||||
"INFO_HOOK": "",
|
||||
"WARN_HOOK": "",
|
||||
"ERROR_HOOK": "",
|
||||
"DEBUG_HOOK": "",
|
||||
"PERMS": null,
|
||||
"BLOCKED": []
|
||||
}
|
||||
}
|
||||
|
|
|
@ -60,8 +60,10 @@ class Core(commands.Cog):
|
|||
|
||||
msg = f"__**{self.bot.user.name}**__ - _{self.bot.description}_\n\n"
|
||||
msg += f"This instance by **{self.bot.appinfo.owner}.**\n\n"
|
||||
msg += "**Source Code:** _<https://github.com/taciturasa/searchbot-discord>_\n"
|
||||
msg += "**Support Server:** _<https://discord.gg/4BpReNV>_\n\n"
|
||||
if self.bot.config['REPO']:
|
||||
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 += 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()
|
||||
else:
|
||||
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):
|
||||
self.bot.help_command = self._original_help_command
|
||||
|
|
Loading…
Reference in a new issue