TN-NT customized cogs for aa-discordbot
Project description
Terra Nanotech Discordbot Cogs
A collection of cogs for AA-Discordbot
Important Information
These Discord bot COGs are specially tailored for the corporation Terra Nanotech. They are COGs of apps we use, so they fit our needs.
Note
If you install this app, you need to be aware that there will be no support for any kind of issues you might encounter, and you have to figure it out on your own.
Install
pip install tnnt-discordbot-cogs==2.0.0
In local.py:
INSTALLED_APPS = [
# ...
"eve_sde", # Only if not already added for another app
"tnnt_discordbot_cogs",
# ...
]
# This line right below the `INSTALLED_APPS` list, and only if not already added for another app
INSTALLED_APPS = ["modeltranslation"] + INSTALLED_APPS
# Add the following scheduled task, if not already added for another app
# https://github.com/Solar-Helix-Independent-Transport/django-eveonline-sde
if "eve_sde" in INSTALLED_APPS:
# Run at 12:00 UTC each day
CELERYBEAT_SCHEDULE["EVE SDE :: Check for SDE Updates"] = {
"task": "eve_sde.tasks.check_for_sde_updates",
"schedule": crontab(minute="0", hour="12"),
}
Run DB migrations and restart supervisor.
Now, run the esde_load_sde command to populate the database with the SDE data:
python manage.py esde_load_sde
Commands
| Module/Cog | Group | Command | Description |
|---|---|---|---|
tnnt_discordbot_cogs.cogs.about |
about |
Shows information about the bot | |
tnnt_discordbot_cogs.cogs.admin |
admin |
add_role |
Add a role as read/write to a channel |
admin |
add_role_read |
Add a role as read only to a channel | |
admin |
clear_empty_roles |
Deletes all roles in the server that have no members | |
admin |
commands |
Returns a list of all slash commands available to the bot | |
admin |
demote_from_god |
Remove admin from a role | |
admin |
empty_roles |
Returns a list of all roles in the server, including those with no members and those without an auth group | |
admin |
force_sync |
Queue update tasks for a character and all their alts | |
admin |
get_webhooks |
Returns a list of all webhooks in the channel | |
admin |
new_channel |
Create a new channel in the specified category and set permissions for the first role | |
admin |
orphans |
Returns a list of all users in the server that do not have a corresponding DiscordUser in Auth | |
admin |
promote_to_god |
Set a role as admin | |
admin |
rem_role |
Remove a role from a channel | |
admin |
stats |
Returns the bot's task statistics, including uptime, task stats, rate limits, and pending tasks | |
admin |
sync_commands |
Sync the bot's commands with Discord | |
admin |
uptime |
Returns the uptime of the bot | |
admin |
versions |
Returns a list of all AA apps and their versions | |
tnnt_discordbot_cogs.cogs.auth |
auth |
Returns a link to the TN-NT Auth System | |
tnnt_discordbot_cogs.cogs.locate |
locate |
Locate a character and all its alts | |
tnnt_discordbot_cogs.cogs.lookup |
lookup |
character |
Looks up a character in the Auth system and returns information about them |
lookup |
corporation |
Looks up a corporation and returns information about its members | |
tnnt_discordbot_cogs.cogs.models |
models |
populate |
Populate Django Models for all channels in the server |
tnnt_discordbot_cogs.cogs.price_check |
price |
all_markets |
Check an item price on all major market hubs |
price |
amarr |
Check an item price on Amarr market | |
price |
dodixie |
Check an item price on Dodixie market | |
price |
hek |
Check an item price on Hek market | |
price |
jita |
Check an item price on Jita market | |
price |
plex |
Check the PLEX price on the global PLEX market | |
price |
rens |
Check an item price on Rens market | |
tnnt_discordbot_cogs.cogs.recruit_me |
recruit_me |
Get hold of a recruiter |
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
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 tnnt_discordbot_cogs-2.0.0.tar.gz.
File metadata
- Download URL: tnnt_discordbot_cogs-2.0.0.tar.gz
- Upload date:
- Size: 58.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aff79040ab635ea326ab24272955eaadc76b0b9253521c22af0933668538d480
|
|
| MD5 |
d008aed3726e181666c9faeb839252bf
|
|
| BLAKE2b-256 |
6eb58b71fa7f14582485e94adc7067fd94d826bc669f884ed0bf8e58f2e402df
|
Provenance
The following attestation bundles were made for tnnt_discordbot_cogs-2.0.0.tar.gz:
Publisher:
release.yml on terra-nanotech/tn-nt-discordbot-cogs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tnnt_discordbot_cogs-2.0.0.tar.gz -
Subject digest:
aff79040ab635ea326ab24272955eaadc76b0b9253521c22af0933668538d480 - Sigstore transparency entry: 993296960
- Sigstore integration time:
-
Permalink:
terra-nanotech/tn-nt-discordbot-cogs@e587f6b5a4ecec2782efade84629ab4bb726b261 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/terra-nanotech
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e587f6b5a4ecec2782efade84629ab4bb726b261 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tnnt_discordbot_cogs-2.0.0-py3-none-any.whl.
File metadata
- Download URL: tnnt_discordbot_cogs-2.0.0-py3-none-any.whl
- Upload date:
- Size: 90.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91740396f6ee8515eccdbc97948ca74b567d9a6a45c7fbc3f4ba73bbc03e50a3
|
|
| MD5 |
133ca8493bfe50898a115135d1cffdb2
|
|
| BLAKE2b-256 |
b391a4b5625fbfe7e7bea41b2211982601aed82d04e190abc86b2c9fdd397ef3
|
Provenance
The following attestation bundles were made for tnnt_discordbot_cogs-2.0.0-py3-none-any.whl:
Publisher:
release.yml on terra-nanotech/tn-nt-discordbot-cogs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tnnt_discordbot_cogs-2.0.0-py3-none-any.whl -
Subject digest:
91740396f6ee8515eccdbc97948ca74b567d9a6a45c7fbc3f4ba73bbc03e50a3 - Sigstore transparency entry: 993297035
- Sigstore integration time:
-
Permalink:
terra-nanotech/tn-nt-discordbot-cogs@e587f6b5a4ecec2782efade84629ab4bb726b261 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/terra-nanotech
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e587f6b5a4ecec2782efade84629ab4bb726b261 -
Trigger Event:
release
-
Statement type: