Skip to main content

Terra Nanotech Discordbot Cogs

Version License Python Django pre-commit pre-commit.ci status Code Style: black Translation status Contributor Covenant Alliance Auth Compatibility

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==3.3.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 each day
    CELERYBEAT_SCHEDULE["EVE SDE :: Check for SDE Updates"] = {
        "task": "eve_sde.tasks.check_for_sde_updates",
        "schedule": crontab(minute="0", hour="12"),
    }

    # Set the following when you have a bare metal installation, or Docker with a
    # non-standard storage for `myauth`
    ESDE_TASK_SPLIT = True

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 Demote yourself from being a god
admin demote_all_gods Demote all current gods
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 Promote yourself to god
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
tnnt_discordbot_cogs.cogs.routes route Find a route in EVE (with Jumpbridges)
jumpbridges List all known Jumpbridges
tnnt_discordbot_cogs.cogs.where_is where_is Find where you missplaced your stuff

Translation Status

Translation status

Do you want to help translate this app into your language or improve the existing translation? - Join our team of translators!

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tnnt_discordbot_cogs-3.3.0.tar.gz (67.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tnnt_discordbot_cogs-3.3.0-py3-none-any.whl (110.6 kB view details)

Uploaded Python 3

File details

Details for the file tnnt_discordbot_cogs-3.3.0.tar.gz.

File metadata

  • Download URL: tnnt_discordbot_cogs-3.3.0.tar.gz
  • Upload date:
  • Size: 67.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tnnt_discordbot_cogs-3.3.0.tar.gz
Algorithm Hash digest
SHA256 91f452a7ffb5a305ebd867abb342013ae3b4152fb9d7ebacc801cc94f3d1a349
MD5 e7e71c5a59c86634b86f55e110075b28
BLAKE2b-256 7544f5d6d5ee2109141c964b4a55027bd273443233886a4ac4334c79c58df657

See more details on using hashes here.

Provenance

The following attestation bundles were made for tnnt_discordbot_cogs-3.3.0.tar.gz:

Publisher: release.yml on terra-nanotech/tn-nt-discordbot-cogs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tnnt_discordbot_cogs-3.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tnnt_discordbot_cogs-3.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3658152f7842f372b69aabb409c2c76c7c773f76b1b89a2e949ba09138a7178e
MD5 92100ee60eea6fcb0ee2d5ec0cf0d9c1
BLAKE2b-256 b32c4c7d7cbe9f705c1653975a77f18007632378958f7ec68d684003ad1596ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for tnnt_discordbot_cogs-3.3.0-py3-none-any.whl:

Publisher: release.yml on terra-nanotech/tn-nt-discordbot-cogs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page