Commit graph

161 commits

Author SHA1 Message Date
Tulir Asokan
c6d33d8bba Make sure there are enough args before getting args 2018-12-08 01:30:15 +02:00
Jörg Sommer
ae2ccb0d38 CommandHelp: don't print cmdprefix in management room
In the management room the user don't need to prefix the commands with the
command-prefix. Hence, don't show the prefix in the command list.
2018-12-07 23:31:15 +01:00
Jörg Sommer
da5e399333 CommandEvent.Reply: Send all messages to management room
Because the Bridge Bot doesn't participate in the rooms it can't send any
messages to this room. Hence, we should send all replies to the management
room.
2018-12-07 20:08:06 +01:00
Jörg Sommer
a626d14a3f No sync on startup; new command import contacts
Having an import of all contacts on each startup and after login is very
annoying, if you have a big list of contacts. If you choose to not join a
room with all contacts, you get the invitation over and over on each
restart of the service. Better is to have a command for the management
room to explicitly start the import.
2018-12-07 20:08:06 +01:00
Krombel
ed79002592 extend comments on methods of commands.go 2018-10-16 19:16:13 +02:00
Krombel
c107abbeb5 add reply for unknown command; use configured command prefix 2018-10-16 19:15:38 +02:00
Krombel
798a3dfd2c implement !help 2018-10-16 18:36:22 +02:00
Tulir Asokan
22cdf519f2 Fix desegregation changes to make the bridge work again 2018-08-30 01:10:26 +03:00
Tulir Asokan
c7348f29b0 Initial desegregation of users and automatic config updating 2018-08-29 00:40:54 +03:00
Tulir Asokan
22e76b6a37 Format 2018-08-26 22:53:13 +03:00
Tulir Asokan
a9124b89bd Fix and add things
* Fix user ID reservation in registration
* Fix some database things
* Add commands
* Add basic contact syncing and portal creation
* Add better error logging
2018-08-18 22:57:33 +03:00