Shows the bot status in your discord server.
Project description
StatusCog
Installation
pip install status-cog
Usage
import os
from discord.ext import commands
os.environ["status_cog_webhook_url"] = None # WEBHOOK URL HERE
os.environ["status_cog_message_id"] = None # Message ID here if you want the bot to edit the previous message (can also be None)
bot = commands.Bot(command_prefix="!")
bot.load_extension("status_cog")
bot.run()
Commands
[prefix]maintenance
Enables maintenance mode, when the bot shuts off it won't send an offline message but a maintenance message showing that this shutdown was planned.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
status-cog-0.1.0a2.tar.gz
(3.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file status-cog-0.1.0a2.tar.gz.
File metadata
- Download URL: status-cog-0.1.0a2.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.5 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6bafcc79f4686b864bbf321c616e0bd05d5f0240c0c68be5a6d21ae4a719e02d
|
|
| MD5 |
f52802b6df801b38cf933bd34817cf15
|
|
| BLAKE2b-256 |
6cabf24d1d437bc55022428aa59c8231ddf30a87c08bb092597b5c0a35bb0f9c
|
File details
Details for the file status_cog-0.1.0a2-py3-none-any.whl.
File metadata
- Download URL: status_cog-0.1.0a2-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.5 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89b42d1506f340be53dd78b54c7cca15352f9a3318b01393f447485b825f7158
|
|
| MD5 |
fc3f516c7c1d717500d8ced0ce0c4783
|
|
| BLAKE2b-256 |
85e1a22186b67a0c71c9523f50361fe833d3fb1525d9fbd64fda022df1b0d083
|