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"); | |
} |
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
<%@ Page Language="C#" AutoEventWireup="true" %> | |
<%@ Import Namespace="System.IO" %> | |
<%@ Import Namespace="System.Linq" %> | |
<%@ Import Namespace="System.Web" %> | |
<%@ Import Namespace="System.Net" %> | |
<%@ Import Namespace="System.Net.Sockets" %> | |
<script runat="server"> | |
//// This is a replica of https://gist.github.com/dkesberg/7926899, but built for asp.net instead of PHP. | |