public void RegisterCommands(DiscordScriptHost ActiveHost) { ActiveHost.RegisterCommand("8bap", "version", help, Shake); ActiveHost.RegisterCommand("8bap", "really?", "really really Shake the 8bap", ReallyReallyShake); ActiveHost.RegisterCommand("8bap", "really", "really Shake the 8bap", ReallyShake); ActiveHost.RegisterCommand("8bap", "Shake the 8bap", Shake); }
public void RegisterCommands(DiscordScriptHost ActiveHost) { ActiveHost.RegisterCommand("reminder", "version", help, (param, e) => { }); ActiveHost.RegisterCommand("reminder", "time", "Display the current Utc time the reminder is using", Time); ActiveHost.RegisterCommand("reminder", "(list | view <tag>)", "lists all the active announcements and when they will next trigger or view the content of a tag", List); ActiveHost.RegisterCommand("reminder", "new <tag> (in <time> [repeat] | at <time>) <content>", "Add a new announcement note: content should be wrapped in \"\"", New); ActiveHost.RegisterCommand("reminder", "remove <tag>", "Removes the specified announcement from the list", Remove); }
public void RegisterCommands(DiscordScriptHost ActiveHost) { ActiveHost.RegisterCommand("hello", "test", MessageRecieved); }