Skip to content

iota-community/versatileus

Repository files navigation

Versatileus

Functionalities

  • Keep threads alive once a week
  • Support DCouter.space bot and ban main accounts of banned alt-accounts
  • Kick @unverified group members every 8 hours

Disclaimer

Slash commands can take some time to get registered globally, so if you want to test a command you should use the @app_commands.guilds() decorator so that it gets registered instantly. Example:

@commands.hybrid_command(
  name="command",
  description="Command description",
)
@app_commands.guilds(discord.Object(id=GUILD_ID)) # Place your guild ID here

When using the template you confirm that you have read the license and comprehend that I can take down your repository if you do not meet these requirements.

Please do not open issues or pull requests about things that are written in the TODO file, they are already under work for a future version of the template.

How to download it

How to set up

To set up the bot is as simple as possible. Copy the config.json.example to config.json file where you can put the needed things to edit.

Here is an explanation of what everything is:

Variable What it is
prefix The prefix you want to use for normal commands
token The token of your bot
permissions The permissions integer your bot needs when it gets invited
application_id The application ID of your bot
owners The user ID of all the bot owners
dc_bot_channel The channel ID of the dcounter.space bot logs
bot_reply_channel The channel ID of the /smr-market command reply channel
tea_comms_channel The channel ID of the /talktotea command
unverified_role_name Human readable dcounter.space @Unverified group name
unverified_role_id The group ID of the dcounter.space @Unverified group
verified_role_id The group ID of the dcounter.space verified users group
bitfinex_ticker The Shimmer Ticker for the SMR/USD pair tSMRUSD on Bitfinex
coingecko_coin_id The Shimmer coin ID for Shimmer in the Coingecko API
coingecko_exchange_id The Bitfinex exchange ID for the Coingecko API
geckoterminal_ticker The ShimmerEVM Ticker shimmerevm on GeckoTerminal
shimmer_onchain_deposit_alias The Shimmer Address Alias where ShimmerEVM tokens are tracked on chain

How to start

To start the bot you simply need to launch, either your terminal (Linux, Mac & Windows), or your Command Prompt ( Windows) .

Before running the bot you will need to install all the requirements with this command:

python -m pip install -r requirements.txt

After that you can start it with

python bot.py

Note You may need to replace python with py, python3, python3.11, etc. depending on what Python versions you have installed on the machine.

Built With

License

This project is licensed under the Apache License 2.0 - see the LICENSE.md file for details

Original code

https://github.com/kkrypt0nn/Python-Discord-Bot-Template

About

Manages a few things in Discord

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages