This is a discord bot created to manage raid appointments in the game Destiny 2.
!сбор ДД.ММ ЧЧ:ММ название активности, комментарии
создание сбора на активность на 6 человек;
create an appointment for 6 people;!сбор ДД.ММ ЧЧ:ММ [N] название активности, комментарии
создание сбора на активность на N человек;
create an appointment for N people;!сбор ДД.ММ ЧЧ:ММ название активности, комментарии @DiscordTag @DiscordTag
создание сбора на активность с бронью стражей;
create an appointment with booking;!бронь @DiscordTag @DiscordTag
забронировать место за стражем, должно быть ответом на сообщение рейда
book a place for a guardian, should be an answer to a raid message!отмена
отмена рейда, должно быть ответом на сообщение рейда
cancel raid, should be an answer to a raid message!перенос ДД.ММ ЧЧ:ММ
перенос рейда, должно быть ответом на сообщение рейда
reschedule raid, should be an answer to a raid message!комментарий новый комментарий
изменить комментарий к рейду, должно быть ответом на сообщение рейда
change raid description, should be an answer to a raid message!clean
очистить канал от старых рейдов и лишних сообщений;
delete old and redundant messages from the raid channel;!help
список доступных команд;
list of commands;!myraids
список рейдов, в которые записался страж;
list of raids, guardian is going to participate in;
In guilds:
| Field | explanation |
|---|---|
| title | guild title |
| id | guild id |
| mention | role id for glogal mentions, optional |
| ban | role id for users that can't take part in the activities, optional |
| admin | array of role ids of guild admins (they can kick from the activities or cancel it), optional |
| raids | array of channel ids for the activity posts |
| contents | array of channel ids where the context post should be created, optional |
| roleRegexp | dictionary of pairs role id to emoji for replacing in content posts, optional |
| log | log channel id, optional |
{
"credentials":{
"clientId": "000000000000000000",
"applicationId": "000000000000000000",
"discordApiKey" : "qwerqwrqwrwqerqwrqwerqwrqwerqwerqwreqwerqwerqwrqwerqwrqwrqwrqw"
},
"dev_config":{
"developer" : "149245139389251584",
"emojis" : "799584344569806858",
"sandbox_channel" : "000000000000000000"
},
"guilds" :[
{
"title" : "guild1",
"id" : "000000000000000000",
"mention" : "000000000000000000",
"ban" : "000000000000000000",
"admin" : [
"000000000000000000",
"000000000000000000"
],
"raids" : [
"000000000000000111",
"000000000000000222"
],
"contents" : [
"000000000000000111"
],
"roleRegexp" : {
"000000000000000000" : "<:emojiName:000000000000000000>",
"000000000000000000" : "<:emojiName:000000000000000000>"
},
"log" : "000000000000000000"
},
{
"title" : "guild2",
"id" : "000000000000000000",
"raids" : [
"000000000000000000"
]
}
]
}