Skip to content

Commit

Permalink
add Remainder attribute for roleName parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxiao921 committed Sep 25, 2020
1 parent 24e0330 commit eb86785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CHEF/Components/Commands/GiveRole.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class GiveRoleModule : ModuleBase<SocketCommandContext>
("Give / Remove the role given as first parameter to the user who called this command.")]
public async Task GiveRole(
[Summary("The role you want to give / remove access to.")]
string roleName)
[Remainder] string roleName)
{
var user = Context.User;
roleName = roleName.ToLowerInvariant();
Expand Down

0 comments on commit eb86785

Please sign in to comment.