3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-07-07 11:07:19 +00:00

Fix some argument type names

This commit is contained in:
Dragory 2019-04-20 19:55:35 +03:00
parent 51a77b0082
commit 9f7f87dc77
5 changed files with 8 additions and 8 deletions

View file

@ -35,7 +35,7 @@ export class NameHistoryPlugin extends ZeppelinPlugin<INameHistoryPluginConfig>
this.nameHistory = GuildNameHistory.getInstance(this.guildId);
}
@d.command("names", "<userId:userId>")
@d.command("names", "<userId:userid>")
@d.permission("can_view")
async namesCmd(msg: Message, args: { userId: string }) {
const names = await this.nameHistory.getByUserId(args.userId);