Skip to content

Commit

Permalink
Added Info Command
Browse files Browse the repository at this point in the history
  • Loading branch information
Kingsman0530 committed Jan 31, 2024
1 parent 228e061 commit 6fb6db7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Bot/Dc/Cmds.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,10 @@ public async Task AltAsync(Member alt, Member main)
await RespondAsync($"`{clanAlt.Name}` is an alt of `{clanMain.Name}`");
}


[SlashCommand("info", "Check the User's infomation")]
public async Task InfoAsync(Member member)
{
ClanMember cocMem = Coc.GetMember(member.CocId);
await RespondAsync($"{cocMem.Tag} {cocMem.Name}");
}
}

0 comments on commit 6fb6db7

Please sign in to comment.