Created
July 14, 2019 00:37
-
-
Save moiph/ddc2f2fafe2658d5983b26e69ee1b9b8 to your computer and use it in GitHub Desktop.
It's a Discord.net gist...from Enspiron!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ Command ( "Warn" )] | |
0 references | |
- | |
public async Task warn (SocketGuildUser User, [Remainder]string Message = "") | |
{ | |
FileHandler fileHandler = new FileHandler(); | |
fileHandler.AddToList(Context.Guild.Id + "/" + User.Id + ".txt", Message); | |
await Context.Message.Channel.SendMessageAsync( "warn"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment