Skip to content

official-antistasi-community/Antipetros_Discord_Bot

 
 

Repository files navigation

Antipetros Discordbot

Antipetros Discordbot Avatar


ToC


Bot-Name:

AntiPetros

Version:

1.3.9


Installation

PyPi

pip install antipetros_discordbot==1.3.9

Usage

  • antipetrosbot clean

    Cli command to clean the 'APPDATA' folder that was created.

  • antipetrosbot get-path

    Get remote path to the User data dir or files withing.

  • antipetrosbot run

    Standard way to start the bot and connect it to discord.

  • antipetrosbot stop

    Cli way of autostoping the bot.


Description


Features

Currently usable Cogs
Description

Short Description

Commands and methods that help in Administrate the Discord Server.

Config Name

administration

Cog State Tags

- DOCUMENTATION_MISSING

- OUTDATED

- NEEDS_REFRACTORING

- FEATURE_MISSING

- UNTESTED

- OPEN_TODOS
Commands
  • DELETE_MSG

    • aliases: deletemsg, delete+msg, delete.msg, delete-msg

    • is hidden: True

    • usage:

      None

  • MAKE_EMBED

    • help:

      Creates a simple embed message in the specified channel.

      No support for embed fields, as input would be to complicated.

      Args: channel (discord.TextChannel): either channel name or channel id (prefered), where the message should be posted. --title (str): --description (str): --url (str): --thumbnail (str): --image (str): --timestamp (str): --author-name (str): --author-url (str): --author-icon (str): --footer-text (str): --footer-icon (str): --thumbnail (str): --image (str): --disable-mentions (bool): --delete-after (int):

    • aliases: make.embed, make-embed, makeembed, make+embed

    • is hidden: True

    • usage:

      None

  • THE_BOTS_NEW_CLOTHES

    • help:

      Sends about a page worth of empty message to a channel, looks like channel got purged.

      Optional deletes the empty message after specified seconds (defaults to not deleting)

      Args: delete_after (int, optional): time in seconds after which to delete the empty message. Defaults to None which means that it does not delete the empty message.

    • aliases: thebotsnewclothes, the+bots+new+clothes, the-bots-new-clothes, clr-scrn, the.bots.new.clothes

    • is hidden: True

    • usage:

      None

  • WRITE_MESSAGE

    • aliases: write+message, writemessage, write-message, write.message

    • is hidden: True

    • usage:

      None


Description

Short Description

soon

Config Name

antistasi_log_watcher

Cog State Tags

- DOCUMENTATION_MISSING

- FEATURE_MISSING

- UNTESTED

+ WORKING
Commands
  • GET_NEWEST_LOGS

    • help:

      Gets the newest log files from the Dev Drive.

      If the log file is bigger than current file size limit, it will provide it zipped.

      Tries to fuzzy match both server and sub-folder.

      Args: server (str): Name of the Server sub_folder (str): Name of the sub-folder e.g. Server, HC_0, HC_1,... amount (int, optional): The amount of log files to get. standard max is 5 . Defaults to 1.

    • aliases: get-newest-logs, get.newest.logs, get+newest+logs, getnewestlogs

    • is hidden: False

    • usage:

      @AntiPetros get_newest_logs mainserver_1 server

  • GET_NEWEST_MOD_DATA

    • help:

      Gets the required mods for the Server.

      Provides the list as embed and Arma3 importable html file.

      Args: server (str): Name of the Antistasi Community Server to retrieve the mod list.

    • aliases: get+newest+mod+data, getnewestmoddata, get.newest.mod.data, get-newest-mod-data

    • is hidden: False

    • usage:

      @AntiPetros get_newest_mod_data mainserver_1


Description

Short Description

WiP

Config Name

auto_reaction

Cog State Tags

- EMPTY

- DOCUMENTATION_MISSING

- CRASHING

- OUTDATED

- FEATURE_MISSING

- UNTESTED
Commands
  • ADD_CHANNEL_REACTION_INSTRUCTION

    • aliases: add-channel-reaction-instruction, addchannelreactioninstruction, add+channel+reaction+instruction, add.channel.reaction.instruction

    • is hidden: False

    • usage:

      None

  • ADD_EXCEPTION_TO_WORD_REACTION_INSTRUCTION

    • aliases: add+exception+to+word+reaction+instruction, add-exception-to-word-reaction-instruction, addexceptiontowordreactioninstruction, add.exception.to.word.reaction.instruction

    • is hidden: False

    • usage:

      None

  • ADD_WORD_REACTION_INSTRUCTION

    • aliases: add-word-reaction-instruction, add.word.reaction.instruction, add+word+reaction+instruction, addwordreactioninstruction

    • is hidden: False

    • usage:

      None

  • CHANGE_WORD_REACTION_INSTRUCTION_OPTION

    • aliases: change.word.reaction.instruction.option, change-word-reaction-instruction-option, change+word+reaction+instruction+option, changewordreactioninstructionoption

    • is hidden: False

    • usage:

      None

  • LIST_ALL_REACTION_INSTRUCTIONS

    • aliases: list+all+reaction+instructions, listallreactioninstructions, list.all.reaction.instructions, list-all-reaction-instructions

    • is hidden: False

    • usage:

      None

  • REMOVE_REACTION_INSTRUCTION

    • aliases: remove-reaction-instruction, remove+reaction+instruction, removereactioninstruction, remove.reaction.instruction

    • is hidden: False

    • usage:

      None


Description

Short Description

Commands and methods that are needed to Administrate the Bot itself.

Config Name

bot_admin

Cog State Tags

- DOCUMENTATION_MISSING

- FEATURE_MISSING
Commands
  • ADD_TO_BLACKLIST

    • aliases: add+to+blacklist, add.to.blacklist, addtoblacklist, add-to-blacklist

    • is hidden: True

    • usage:

      None

  • ADD_WHO_IS_PHRASE

    • aliases: add.who.is.phrase, add+who+is+phrase, addwhoisphrase, add-who-is-phrase

    • is hidden: True

    • usage:

      None

  • ALL_ALIASES

    • aliases: allaliases, all.aliases, all+aliases, all-aliases

    • is hidden: True

    • usage:

      None

  • INVOCATION_PREFIXES

    • aliases: invocation+prefixes, invocationprefixes, invocation-prefixes, invocation.prefixes

    • is hidden: True

    • usage:

      None

  • LIFE_CHECK

    • aliases: you_dead?, life-check, life+check, are-you-there, poke-with-stick, life.check, lifecheck

    • is hidden: True

    • usage:

      None

  • REMOVE_FROM_BLACKLIST

    • aliases: remove-from-blacklist, remove.from.blacklist, remove+from+blacklist, removefromblacklist

    • is hidden: True

    • usage:

      None

  • SEND_LOG_FILE

    • help:

      Gets the log files of the bot and post it as a file to discord.

      You can choose to only get the newest or all logs.

      Args: which_logs (str, optional): [description]. Defaults to 'newest'. other options = 'all'

    • aliases: send.log.file, sendlogfile, send+log+file, send-log-file

    • is hidden: True

    • usage:

      @AntiPetros send_log_file all

  • SEND_LOOP_INFO

    • aliases: sendloopinfo, send+loop+info, send-loop-info, send.loop.info

    • is hidden: True

    • usage:

      None

  • TELL_UPTIME

    • aliases: tell+uptime, tell-uptime, telluptime, tell.uptime

    • is hidden: True

    • usage:

      None

  • TELL_VERSION

    • aliases: tell+version, tell-version, tell.version, tellversion

    • is hidden: True

    • usage:

      None


Description

Short Description

WiP

Config Name

bot_feedback

Cog State Tags

- EMPTY

- DOCUMENTATION_MISSING

- CRASHING

- OUTDATED

- FEATURE_MISSING

- UNTESTED
Commands

Description

Short Description

soon

Config Name

community_server_info

Cog State Tags

- EMPTY

- DOCUMENTATION_MISSING

- CRASHING

- OUTDATED

- FEATURE_MISSING

- UNTESTED
Commands
  • CURRENT_ONLINE_SERVER

    • help:

      Shows all server of the Antistasi Community, that are currently online.

      Testserver_3 and Eventserver are excluded as they usually are password guarded.

    • aliases: current-online-server, servers, currentonlineserver, current+online+server, server?, server, current.online.server

    • is hidden: False

    • usage:

      @AntiPetros current_online_server

  • CURRENT_PLAYERS

    • help:

      Show all players that are currently online on one of the Antistasi Community Server.

      Shows Player Name, Player Score and Time Played on that Server.

      Args: server (str): Name of the Server, case insensitive.

    • aliases: currentplayers, current-players, current+players, current.players

    • is hidden: False

    • usage:

      @AntiPetros current_players mainserver_1

  • EXCLUDE_FROM_SERVER_STATUS_NOTIFICATION

    • aliases: exclude-from-server-status-notification, exclude+from+server+status+notification, excludefromserverstatusnotification, exclude.from.server.status.notification

    • is hidden: False

    • usage:

      None

  • UNDO_EXCLUDE_FROM_SERVER_STATUS_NOTIFICATION

    • aliases: undoexcludefromserverstatusnotification, undo+exclude+from+server+status+notification, undo-exclude-from-server-status-notification, undo.exclude.from.server.status.notification

    • is hidden: False

    • usage:

      None


Description

Short Description

Cog with commands to access and manipulate config files, also for changing command aliases. Almost all are only available in DM's

commands are hidden from the help command.

Config Name

config

Cog State Tags

- NEEDS_REFRACTORING

- FEATURE_MISSING

- OPEN_TODOS
Commands
  • ADD_ALIAS

    • help:

      Adds an alias for a command.

      Alias has to be unique and not spaces.

      Args: command_name (str): name of the command alias (str): the new alias.

    • aliases: addalias, add-alias, add.alias, add+alias

    • is hidden: True

    • usage:

      @AntiPetros add_alias flip_coin flip_it

  • CHANGE_SETTING_TO

    • help:

      NOT IMPLEMENTED

    • is hidden: True

    • usage:

      None

  • CONFIG_REQUEST

    • help:

      Returns a Config file as and attachment, with additional info in an embed.

      Args: config_name (str, optional): Name of the config, or 'all' for all configs. Defaults to 'all'.

    • is hidden: True

    • usage:

      None

  • LIST_CONFIGS

    • help:

      NOT IMPLEMENTED

    • aliases: listconfigs, list+configs, list.configs, list-configs

    • is hidden: True

    • usage:

      None

  • OVERWRITE_CONFIG_FROM_FILE

    • help:

      NOT IMPLEMENTED

    • is hidden: True

    • usage:

      None

  • SHOW_CONFIG_CONTENT

    • help:

      NOT IMPLEMENTED

    • is hidden: True

    • usage:

      None

  • SHOW_CONFIG_CONTENT_RAW

    • help:

      NOT IMPLEMENTED

    • is hidden: True

    • usage:

      None


Description

Short Description

Creates Embed FAQ items.

Config Name

faq

Cog State Tags

- DOCUMENTATION_MISSING

- FEATURE_MISSING

- UNTESTED

+ WORKING
Commands
  • POST_FAQ_BY_NUMBER

    • help:

      Posts an FAQ as an embed on request.

      Either as an normal message or as an reply, if the invoking message was also an reply.

      Deletes invoking message

      Args: faq_numbers (commands.Greedy[int]): minimum one faq number to request, maximum as many as you want seperated by one space (i.e. 14 12 3) as_template (bool, optional): if the resulting faq item should be created via the templated items or from the direct parsed faqs.

    • aliases: faq, postfaqbynumber, post.faq.by.number, post+faq+by+number, post-faq-by-number

    • is hidden: False

    • usage:

      None


Description

Short Description

WiP

Config Name

fixed_answer

Cog State Tags

- EMPTY

- DOCUMENTATION_MISSING

- CRASHING

- OUTDATED

- FEATURE_MISSING

- UNTESTED
Commands
  • BOB_STREAMING

    • aliases: bobstreaming, bob.streaming, bob+streaming, bob-streaming, bobdev

    • is hidden: False

    • usage:

      None

  • NEW_VERSION_ETA

    • aliases: newversioneta, eta, new+version+eta, update, new.version.eta, new-version-eta

    • is hidden: False

    • usage:

      None


Description

Short Description

WiP

Config Name

github

Cog State Tags

- EMPTY

- DOCUMENTATION_MISSING

- CRASHING

- OUTDATED

- FEATURE_MISSING

- UNTESTED
Commands
  • GET_FILE

    • aliases: get-file, get.file, get+file, getfile

    • is hidden: False

    • usage:

      None

  • GITHUB_REFERALS

    • aliases: github+referals, github.referals, github-referals, githubreferals

    • is hidden: False

    • usage:

      None

  • GITHUB_TRAFFIC

    • aliases: github-traffic, githubtraffic, github.traffic, github+traffic

    • is hidden: False

    • usage:

      None


Description

Short Description

Soon

Config Name

give_away

Cog State Tags

- DOCUMENTATION_MISSING

- FEATURE_MISSING
Commands
  • ABORT_GIVE_AWAY

    • help:

      NOT IMPLEMENTED

    • aliases: abort+give+away, abort-give-away, abortgiveaway, abort.give.away

    • is hidden: True

    • usage:

      None

  • CREATE_GIVEAWAY

    • aliases: giveaway, creategiveaway, create-giveaway, create+giveaway, create.giveaway

    • is hidden: True

    • usage:

      None

  • FINISH_GIVE_AWAY

    • help:

      NOT IMPLEMENTED

    • aliases: finishgiveaway, finish.give.away, finish-give-away, finish+give+away

    • is hidden: True

    • usage:

      None


Description

Short Description

Commands that manipulate or generate images.

Config Name

image_manipulation

Cog State Tags

- NEEDS_REFRACTORING

- FEATURE_MISSING

- OPEN_TODOS

+ WORKING
Commands
  • ADD_FONT

    • aliases: add-font, add+font, add.font, addfont

    • is hidden: False

    • usage:

      None

  • ADD_STAMP

    • help:

      Adds a new stamp image to the available stamps.

      This command needs to have the image as an attachment.

    • aliases: add_image, add+stamp, add.stamp, add-stamp, addstamp

    • is hidden: False

    • usage:

      @AntiPetros add_stamp

  • AVAILABLE_STAMPS

    • help:

      Posts all available stamps.

    • aliases: available+stamps, availablestamps, available.stamps, available-stamps

    • is hidden: False

    • usage:

      @AntiPetros available_stamps


  • GET_STAMP_IMAGE

    • aliases: get.stamp.image, get_image, get-stamp-image, getstampimage, get+stamp+image

    • is hidden: False

    • usage:

      None

  • LIST_FONTS

    • aliases: list+fonts, listfonts, list-fonts, list.fonts

    • is hidden: False

    • usage:

      None

  • MEMBER_AVATAR

    • help:

      Stamps the avatar of a Member with the Antistasi Crest.

      Returns the new stamped avatar as a .PNG image that the Member can save and replace his orginal avatar with.

      Example: @AntiPetros member_avatar

    • is hidden: False

    • usage:

      None

  • STAMP_IMAGE

    • help:

      Stamps an image with a small image from the available stamps.

      Usefull for watermarking images.

      Get all available stamps with '@AntiPetros available_stamps'

    • aliases: stamp.image, stamp+image, stamp-image, stampimage

    • is hidden: False

    • usage:

      @AntiPetros stamp_image -si ASLOGO -fp bottom -sp right -so 0.5 -f 0.25

  • TEXT_TO_IMAGE

    • aliases: text+to+image, text-to-image, text.to.image, texttoimage

    • is hidden: False

    • usage:

      None


Description

Short Description

WiP

Config Name

info

Cog State Tags

- EMPTY

- DOCUMENTATION_MISSING

- CRASHING

- OUTDATED

- FEATURE_MISSING

- UNTESTED
Commands
  • CODE_FILE_TO_IMAGE

    • aliases: code.file.to.image, code-file-to-image, code+file+to+image, codefiletoimage

    • is hidden: False

    • usage:

      None

  • INFO_BOT

    • aliases: infobot, info.bot, info-bot, info+bot

    • is hidden: False

    • usage:

      None

  • INFO_COMMAND

    • aliases: info+command, infocommand, info-command, info.command

    • is hidden: False

    • usage:

      None

  • INFO_GUILD

    • aliases: info+guild, info-guild, infoguild, info.guild

    • is hidden: False

    • usage:

      None

  • INFO_ME

    • aliases: info+me, infome, info.me, info-me

    • is hidden: False

    • usage:

      None

  • INFO_OTHER

    • aliases: infoother, info-other, info.other, info+other

    • is hidden: False

    • usage:

      None


Description

Short Description

Collection of small commands that either don't fit anywhere else or are just for fun.

Config Name

klim_bim

Cog State Tags

+ WORKING
Commands
  • CHOOSE_RANDOM

    • help:

      Selects random items from a semi-colon(;) seperated list. No limit on how many items the list can have, except for Discord character limit.

      Amount of item to select can be set by specifying a number before the list. Defaults to selecting only 1 item. Max amount is 25.

      Args:

        choices (str): input list as semi-colon seperated list.
        select_amount (Optional[int], optional): How many items to select. Defaults to 1.
      

      Example: @AntiPetros 2 this is the first item; this is the second; this is the third

    • aliases: choose-random, choose+random, chooserandom, choose.random

    • is hidden: False

    • usage:

      None


  • FLIP_COIN

    • help:

      Simulates a coin flip and posts the result as an image of a Petros Dollar.

    • aliases: flipcoin, flip+coin, coinflip, flip.coin, flip, flip-coin

    • is hidden: False

    • usage:

      @AntiPetros flip_coin


  • MAKE_FIGLET

    • help:

      Posts an ASCII Art version of the input text.

      Warning, your invoking message gets deleted!

      Args: text (str): text you want to see as ASCII Art.

    • aliases: make-figlet, make.figlet, make+figlet, makefiglet

    • is hidden: False

    • usage:

      @AntiPetros make_figlet The text to figlet


  • ROLL_DICE

    • help:

      Roll Dice and get the result also as Image.

      All standard DnD Dice are available, d4, d6, d8, d10, d12, d20, d100.

      Args: dice_line (str): the dice you want to roll in the format 2d6, first number is amount. Multiple different dice can be rolled, just seperate them by a space 2d6 4d20 1d4.

    • aliases: roll.dice, rolldice, roll-dice, roll+dice

    • is hidden: False

    • usage:

      None


  • THE_DRAGON

    • help:

      Posts and awesome ASCII Art Dragon!

    • aliases: thedragon, the.dragon, the+dragon, the-dragon

    • is hidden: False

    • usage:

      @AntiPetros the_dragon


  • URBAN_DICTIONARY

    • help:

      Searches Urbandictionary for the search term and post the answer as embed

      Args:

        term (str): the search term
        entries (int, optional): How many UD entries for that term it should post, max is 5. Defaults to 1.
      
    • aliases: urban+dictionary, urbandictionary, urban-dictionary, urban.dictionary

    • is hidden: False

    • usage:

      @AntiPetros urban_dictionary Petros 2



Description

Short Description

Collects Latency data and memory usage every 10min and posts every 24h a report of the last 24h as graphs.

Config Name

performance

Cog State Tags

- DOCUMENTATION_MISSING

- NEEDS_REFRACTORING

- FEATURE_MISSING

- OPEN_TODOS
Commands
  • GET_COMMAND_STATS

    • aliases: get-command-stats, get.command.stats, getcommandstats, get+command+stats

    • is hidden: True

    • usage:

      None

  • INITIAL_MEMORY_USE

    • aliases: initial+memory+use, initialmemoryuse, initial-memory-use, initial.memory.use

    • is hidden: True

    • usage:

      None

  • REPORT

    • help:

      Reports both current latency and memory usage as Graph.

    • is hidden: True

    • usage:

      @AntiPetros report

  • REPORT_LATENCY

    • aliases: report+latency, report-latency, report.latency, reportlatency

    • is hidden: True

    • usage:

      None

  • REPORT_MEMORY

    • aliases: report.memory, report+memory, reportmemory, report-memory

    • is hidden: True

    • usage:

      None


Description

Short Description

Soon

Config Name

purge_messages

Cog State Tags

- DOCUMENTATION_MISSING

- FEATURE_MISSING
Commands
  • PURGE_ANTIPETROS

    • aliases: purgeantipetros, purge+antipetros, purge-antipetros, purge.antipetros

    • is hidden: True

    • usage:

      None


Description

Short Description

WiP

Config Name

rules

Cog State Tags

- EMPTY

- DOCUMENTATION_MISSING

- CRASHING

- OUTDATED

- FEATURE_MISSING

- UNTESTED
Commands
  • ALL_RULES

    • aliases: all.rules, all-rules, allrules, all+rules

    • is hidden: False

    • usage:

      None

  • BETTER_RULES

    • aliases: better-rules, betterrules, better.rules, better+rules

    • is hidden: False

    • usage:

      None

  • COMMUNITY_RULES

    • aliases: community-rules, community.rules, community+rules, communityrules

    • is hidden: False

    • usage:

      None

  • EXPLOITS_RULES

    • aliases: exploits.rules, exploitsrules, exploits-rules, exploits+rules

    • is hidden: False

    • usage:

      None

  • SERVER_RULES

    • aliases: serverrules, server-rules, server.rules, server+rules

    • is hidden: False

    • usage:

      None


Description

Short Description

Provides functionality for each Antistasi Team to save suggestions by reacting with emojis.

Config Name

save_suggestion

Cog State Tags

- DOCUMENTATION_MISSING

- NEEDS_REFRACTORING

- FEATURE_MISSING

- UNTESTED

- OPEN_TODOS

+ WORKING
Commands
  • AUTO_ACCEPT_SUGGESTIONS

    • is hidden: True

    • usage:

      None

  • CLEAR_ALL_SUGGESTIONS

    • is hidden: True

    • usage:

      None

  • GET_ALL_SUGGESTIONS

    • is hidden: True

    • usage:

      None

  • MARK_DISCUSSED

    • is hidden: True

    • usage:

      None

  • REMOVE_ALL_USERDATA

    • is hidden: True

    • usage:

      None

  • REQUEST_MY_DATA

    • is hidden: True

    • usage:

      None

  • UNSAVE_SUGGESTION

    • is hidden: True

    • usage:

      None


Description

Short Description

Organizes Topic so they can be subscribed and mentioned selectively.

Config Name

subscription

Cog State Tags

- DOCUMENTATION_MISSING

- FEATURE_MISSING
Commands
  • CREATE_SUBSCRIPTION_CHANNEL_HEADER

    • aliases: create.subscription.channel.header, createsubscriptionchannelheader, create+subscription+channel+header, create-subscription-channel-header

    • is hidden: True

    • usage:

      None

  • MODIFY_TOPIC_EMBED

    • aliases: modify-topic-embed, modify.topic.embed, modify+topic+embed, modifytopicembed

    • is hidden: True

    • usage:

      None

  • NEW_TOPIC

    • aliases: newtopic, new.topic, new+topic, new-topic

    • is hidden: True

    • usage:

      None

  • REMOVE_TOPIC

    • aliases: removetopic, remove-topic, remove+topic, remove.topic

    • is hidden: True

    • usage:

      None

  • TOPIC_TEMPLATE

    • aliases: topictemplate, topic-template, topic.template, topic+template

    • is hidden: True

    • usage:

      None

  • UNSUBSCRIBE

    • is hidden: True

    • usage:

      None

  • UPDATE_SUBSCRIPTION_CHANNEL_HEADER

    • aliases: update.subscription.channel.header, update-subscription-channel-header, updatesubscriptionchannelheader, update+subscription+channel+header

    • is hidden: True

    • usage:

      None


Description

Short Description

WiP

Config Name

team_roster

Cog State Tags

- EMPTY

- DOCUMENTATION_MISSING

- CRASHING

- OUTDATED

- FEATURE_MISSING

- UNTESTED
Commands
  • DELETE_AND_REDO_TEAM_ROSTER

    • aliases: delete-and-redo-team-roster, delete+and+redo+team+roster, deleteandredoteamroster, delete.and.redo.team.roster

    • is hidden: False

    • usage:

      None

  • FORCE_UPDATE_TEAM_ROSTER

    • aliases: force+update+team+roster, forceupdateteamroster, force.update.team.roster, force-update-team-roster

    • is hidden: False

    • usage:

      None

  • INITIALIZE_TEAM_ROSTER

    • aliases: initialize-team-roster, initialize.team.roster, initializeteamroster, initialize+team+roster

    • is hidden: False

    • usage:

      None

  • TEAM_ROSTER_CHANGE_DESCRIPTION

    • aliases: team-roster-change-description, team+roster+change+description, team.roster.change.description, teamrosterchangedescription

    • is hidden: False

    • usage:

      None

  • TEAM_ROSTER_CHANGE_EXTRA_ROLE

    • aliases: teamrosterchangeextrarole, team.roster.change.extra.role, team+roster+change+extra+role, team-roster-change-extra-role

    • is hidden: False

    • usage:

      None

  • TEAM_ROSTER_CHANGE_IMAGE

    • aliases: teamrosterchangeimage, team-roster-change-image, team.roster.change.image, team+roster+change+image

    • is hidden: False

    • usage:

      None

  • TEAM_ROSTER_CHANGE_JOIN_DESCRIPTION

    • aliases: team+roster+change+join+description, team.roster.change.join.description, team-roster-change-join-description, teamrosterchangejoindescription

    • is hidden: False

    • usage:

      None


Description

Short Description

soon

Config Name

template_checker

Cog State Tags

- EMPTY

- DOCUMENTATION_MISSING

- CRASHING

- OUTDATED

- FEATURE_MISSING

- UNTESTED
Commands
  • CHECK_TEMPLATE

    • help:

      Checks all Classnames inside a provided template.

      Needs to have the tempalte as attachment to the invoking message.

      Returns the list of classnames it can't find in the config along with possible correction.

      Returns also a corrected version of the template file.

      Args: all_items_file (bool, optional): if it should also provide a file that lists all used classes. Defaults to True. case_insensitive (bool, optional): if it should check Case insentive. Defaults to False.

    • aliases: checktemplate, check+template, check-template, check.template

    • is hidden: False

    • usage:

      None


Description

Short Description

Collection of commands that help in translating text to different Languages.

Config Name

translate

Cog State Tags

+ WORKING
Commands
  • AVAILABLE_LANGUAGES

    • aliases: availablelanguages, available+languages, available.languages, available-languages

    • is hidden: False

    • usage:

      None

  • TRANSLATE

    • help:

      Translates text into multiple different languages.

      Tries to auto-guess input language.

      Warning, your invoking message gets deleted!

      Args: text_to_translate (str): the text to translate, quotes are optional to_language_id (Optional[LanguageConverter], optional): either can be the name of the language or an language code (iso639-1 language codes). Defaults to "english".

    • is hidden: False

    • usage:

      @AntiPetros translate german This is the Sentence to translate



Description

Short Description

WiP

Config Name

vote

Cog State Tags

- EMPTY

- DOCUMENTATION_MISSING

- CRASHING

- OUTDATED

- FEATURE_MISSING

- UNTESTED
Commands
  • CREATE_VOTE

    • aliases: create-vote, create+vote, create.vote, createvote

    • is hidden: False

    • usage:

      None



Dependencies

Developed with Python Version 3.9.1

Python dependencies

  • Jinja2 2.11.2

  • Markdown 3.3.4

  • Pillow 8.1.2

  • PyGithub 1.54.1

  • Pygments 2.8.1

  • WeasyPrint 52.2

  • aiohttp 3.7.3

  • aiosqlite 0.16.1

  • antistasi_template_checker 0.1.1

  • arrow 0.17.0

  • async_property 0.2.1

  • asyncstdlib 3.9.0

  • beautifulsoup4 4.9.3

  • click 7.1.2

  • cryptography 3.3.1

  • dateparser 1.0.0

  • dpytest 0.0.22

  • emoji 1.1.0

  • fuzzywuzzy 0.18.0

  • gidappdata 0.1.13

  • gidconfig 0.1.16

  • gidlogger 0.1.9

  • googletrans 4.0.0rc1

  • humanize 3.2.0

  • icecream 2.0.0

  • imgkit 1.1.0

  • marshmallow 3.10.0

  • matplotlib 3.3.3

  • psutil 5.8.0

  • pyfiglet 0.8.post1

  • python-youtube 0.7.0

  • python_a2s 1.3.0

  • python_dotenv 0.15.0

  • pytz 2020.5

  • rich 9.13.0

  • tldextract 3.1.0

  • validator_collection 1.5.0

  • watchgod 0.6

  • webdavclient3 3.14.5

External dependencies

  • Cairo

    • Windows follow these instructions https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer

    • Unix sudo apt-get install -y libcairo2-dev

  • Pango

    • Windows Follow this https://github.com/ImageMagick/pango

    • Unix sudo apt-get install -y libsdl-pango-dev


License

MIT


Development

Future Plans

  • pr logging

    PR team cog for all the logging, Youtube twitch twitter.

  • database

    migrating all the json files to an sql lite DB

  • startup info

    auto updating server info in startup info, need to figure out how to seperate development from production with this one

  • github wiki

    Automatically create and modify github Wiki

  • auto reaction regex

    add an item that can auto react with an emoji to an regex pattern in message

  • auto message cog

    add an cog that works like auto reactions but does other things when triggered (than just emojis)


See also

Links

About

Development repo of the AntiPetros Discord Bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages

  • Python 99.9%
  • Other 0.1%