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

Fix some argument type names

This commit is contained in:
Dragory 2019-04-20 19:55:35 +03:00
parent 325a540880
commit a410a4e994
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);