fix typo in roleinfo (@dedshot)

merge-requests/9/merge
Matthew 2020-04-24 23:46:43 -04:00
parent 9ddc800e2a
commit 07951e289f
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ export default class Roleinfo extends Command {
public async run(message: Message, args: string[]) {
try {
if (!args[0]) return this.error(message.channel, 'You need to specifiy a role ID or a role name.');
if (!args[0]) return this.error(message.channel, 'You need to specify a role ID or a role name.');
let role: Role = this.client.guilds.get(this.client.config.guildID).roles.find((r: Role) => r.id === args[0]);
if (!role) { // if it's a role name