Open danimesq opened 7 years ago
A simple bot has been added with commit cb7ab34755a00cf77e1a4521be481da33fc0c6e7!
Commands are prefixed with ?!/
. So for example you can type ?!/help
to print a list of all available commands.
Added 4 commands with commit 804ca2d92408d9199c1aabe5dcc958bd19d53857
Added some style-changes for messages to and from the bot with commit cfa43f18b3ca3d6c31397efeb26e7f49acd03115
With commit 6277430bfec2751a6ade7afd1bfdce0978d77693, I changed the syntax for commands from ?!/[CMD]
to /[CMD]
for easier typing.
I also added the rules as of now (#103), that are now accessible via /rules
.
Working on the settings-cmd-stuff now on the bot-cmd-settings-tree. Almost finished it with commit 98e1c2e8f80648512cf8411256f9aec696aade50!
You can read abou Telegram bots and how they works. If a chat group have a admin bot, can show a command button and menu.
A list of stuff the Bot should be able to do.. in the lobby:
help
: Prints the complete list of commands, and their descriptionsrules
: Prints all rules (#103)avatar
: Shows you information on how to configure your avatar (#23, #47)opc [us@idp]
: Open private chat with given userogc [gid]
: Open group chat with given group-idsp [us@idp] [msg]
: Send private message (without changing to private chat)sg [gid] [msg]
: Send group message (without changing to group chat)whois [us@idp]
: Prints information about the given user (queried from the DB)settings
: Prints all optionssettings [option-id]
: Displays more in-depth information about the given optionsettings [option-id] [new value]
: Set's a given options value to a given new valueus
stands for username e.g.glightstar
idp
stands for "ID-Provider" e.g.zeroid.bit
gid
stands for Group-ID e.g.Abcdefghijklmnopqrstuvwxyz