fix typo in roleinfo (@dedshot)
parent
a8cb977ae1
commit
15eee459d1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue