summaryrefslogtreecommitdiff
path: root/DiscoBot/Commands.cs
diff options
context:
space:
mode:
authorTrueDoctor <d-kobert@web.de>2017-08-22 20:58:49 +0200
committerTrueDoctor <d-kobert@web.de>2017-08-22 20:58:49 +0200
commitd59a67e552628b464f079bccae20349d649bdd61 (patch)
treeb549066769229d8c7b189efad8ac5bc2dda08015 /DiscoBot/Commands.cs
parenteb7a842b8fe784891a8f865cf47cc20e4fcb22b0 (diff)
added syntax highlighting
Diffstat (limited to 'DiscoBot/Commands.cs')
-rw-r--r--DiscoBot/Commands.cs7
1 files changed, 2 insertions, 5 deletions
diff --git a/DiscoBot/Commands.cs b/DiscoBot/Commands.cs
index 9fe9513..6984761 100644
--- a/DiscoBot/Commands.cs
+++ b/DiscoBot/Commands.cs
@@ -29,17 +29,14 @@ namespace DiscoBot
public class Abfrage : ModuleBase
{
+ Char test = new Char();
// ~say hello -> hello
[Command("t"), Summary("tests a talent.")]
public async Task Say([Remainder, Summary("The text to echo")] string talent)
{
- //
- //a.talente.First(x=>)
-
-
// ReplyAsync is a method on ModuleBase
- await ReplyAsync(talent);
+ await ReplyAsync("```xl\n" + test.TestTalent(talent) + "\n```");
}
}