IYP-Programer-Yeah / IYP_Bot-2.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IYP_Bot-2.0

Check the bot's full documentation for proper bahviour of bot.

List of built-in commands:

.NewCat [Cat] 
.AddMessage [Cat][Message]
.AddResponse [Cat][Response]
.ListCats
.ListMessages [Cat]
.ListResponces [Cat]
.RemoveCat [Cat]
.RemoveMessage [Cat][Message]
.RemoveResponse [Cat][Response]
.NewRes [Res]
.AddToRes [Res][Element1][Element2][Element3]...[Elementn]
.ListRess
.ListResElements [Res]
.RemoveRes [Res]
.RemoveFromRes [Res][Element]
.NewProgram [Class][Program]
.RemoveProgram [Class]
.ListPrograms
.Permission [Channel/Member/Role] [White/Black/Admin] [Tag]
.NotifyMeWarnings
.Don'tNotifyMeWarnings
.SaveDatabase [File Name]
.LoadDatabase [File Name]
.MergerDatabase [File Name]
.Reset
.AddChannelToTest
.RemoveChannelFromTest
.SetMessageAsTest [Category][Message ID]
.SetMessageAsFinal[Category][Message ID]
.SetResponseAsTest [Category][Response ID]
.SetResponseAsFinal[Category][Response ID]
.EditMessage[Category][Message ID][Message]
.EditResponse[Category][Response ID][Response]
.SetMessageInterrupting [Category][Message ID][True/False]
?Help
.SourceCode
.FullDoc

Setting things up

To set things up simply replace the "token" string with the token string provided by discord, and replace "saves directory" with the directory of your saves.

import botelements.Bot;
public class Main {
  public static void main(String[] args) {
    new Bot("token", "saves directory");
  }
}

About


Languages

Language:Java 94.4%Language:Lex 5.6%