fix: Use command bot answer both command's result & random text. And fix version's years.
This commit is contained in:
parent
6cc359929e
commit
8609181aed
2 changed files with 2 additions and 2 deletions
|
@ -21,6 +21,6 @@ declare module '@sapphire/framework' {
|
|||
container.dbDisconnect = async () => await disconnect()
|
||||
container.config = new Config()
|
||||
container.prefix = container.config.bot.prefix
|
||||
container.version = '5.0.0-newMuffin.e240226a'
|
||||
container.version = '5.0.0-newMuffin.e250301a'
|
||||
|
||||
await connect(container.config.databaseUrl)
|
||||
|
|
|
@ -23,7 +23,7 @@ export class MessageCreateListener extends Listener {
|
|||
}).save()
|
||||
|
||||
if (!msg.content.startsWith(this.container.prefix)) return
|
||||
if (this.container.stores.get('commands').get(content)) return
|
||||
if (this.container.stores.get('commands').get(content.split(' ')[0])) return
|
||||
|
||||
await msg.channel.sendTyping()
|
||||
|
||||
|
|
Reference in a new issue