>magicitems added
It's all working, though I'm not sure why it's also in the config_example....
This commit is contained in:
@ -92,6 +92,15 @@ namespace NadekoBot.Modules {
|
||||
await e.Channel.SendMessage(msg);
|
||||
});
|
||||
|
||||
cgb.CreateCommand(Prefix + "magicitem")
|
||||
.Description("Draw a magic item randomly.")
|
||||
.Do(async e =>
|
||||
{
|
||||
await
|
||||
e.Channel.SendMessage(
|
||||
NadekoBot.Config.MagicItems[new Random().Next(0, NadekoBot.Config.MagicItems.Count)].ToString());
|
||||
});
|
||||
|
||||
cgb.CreateCommand(Prefix + "linux")
|
||||
.Description("Prints a customizable Linux interjection")
|
||||
.Parameter("gnu", ParameterType.Required)
|
||||
|
Reference in New Issue
Block a user