change(prefix): set default prefix to cluster name
This commit is contained in:
parent
ff878711bf
commit
92a0c257ca
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -35,7 +35,7 @@ l_extensions: List[str] = [
|
||||||
|
|
||||||
|
|
||||||
async def _prefix_callable(bot, message: discord.message) -> list:
|
async def _prefix_callable(bot, message: discord.message) -> list:
|
||||||
extras = ['.']
|
extras = [bot.cluster.get('Name')]
|
||||||
if message.guild is not None:
|
if message.guild is not None:
|
||||||
extras = []
|
extras = []
|
||||||
if str(message.guild.id) in bot.prefixes:
|
if str(message.guild.id) in bot.prefixes:
|
||||||
|
|
Loading…
Reference in a new issue