-
Notifications
You must be signed in to change notification settings - Fork 2
ZYancey/CSBot/Poohbear #417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: zyancey/CSBot/10/Tagging
Are you sure you want to change the base?
Conversation
|
|
||
| ### Uptime | ||
|
|
||
| The bot automatically pings an uptime monitor every 5 minutes to keep the server running. This is configured in the `.env` file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| The bot automatically pings an uptime monitor every 5 minutes to keep the server running. This is configured in the `.env` file. | |
| The bot may be [configured](#configure-the-bot) to automatically ping an uptime monitor of your choosing every few minutes, to keep easier track of server downtime. |
| await channel.send({ | ||
| content: `Tsk tsk, <@${actionExecution.userId}>`, | ||
| files: [ | ||
| 'https://media.discordapp.net/attachments/357672131691282437/968540850453884988/christian-server.jpg?ex=68fba175&is=68fa4ff5&hm=bff87ada39923c27edad25ff90ad3ea79f96f456ddb59931571e3ca9f5d0ddc0&=&format=webp&width=1434&height=944', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This link has already expired. We should instead provide the image ourselves using either a data: URL (if Discord supports it) or one of the other methods.
Implements the biggest missing feature from ZeKaiser. A small thing on this one, in order for the bot to read automod actions it needs to be given a permission role for
Manage Server. This isn't great but given that this bot is only really used in a few small servers, we can just create a scoped role for it in the CS Discord that affords it that permission like what we had for ZeKaiser