1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00
RedMew/resources/discord.lua
Jayefuu 622c2cdfa2
Duplicated end of game awards messages to respective channels (#1311)
- The awards being in the map-promotion channel is great because people see it when they're pinged and there being no chatter in there keeps it clean and easy to find/read.
- However, it doesn't foster community and discussion.
- This PR duplicates the embedded message so it's posted once to map-promotion and once to the respective channels for danger ores and crash site.
- Will give players somewhere to discuss post-match. I hope it will lead to more discussion of game play and some more friendly competition.
2022-04-12 20:56:55 +01:00

23 lines
849 B
Lua

--- Resources for use in interacting with discord.
return {
--- The names of the discord channels that can be referenced by name.
-- See features.server.to_discord_named
channel_names = {
bot_playground = 'bot-playground',
map_promotion = 'map-promotion',
moderation_log = 'moderation-log',
helpdesk = 'helpdesk',
danger_ores = 'danger-ores',
crash_site = 'crash-site'
},
--- The strings that mention the discord role.
-- Has to be used with features.server.to_discord_raw variants else the mention is sanitized server side.
role_mentions = {
test = '<@&593534612051984431>',
crash_site = '<@&762441731194748958>',
danger_ore = '<@&793231011144007730>',
moderator = '<@&454192594633883658>',
diggy = '<@&921476458076061718>'
}
}