Skip to main content

A Discord Bot for the Antistasi (ArmA 3) Community Discord Server

Project description

Antipetros Discordbot

Anti-Petros Avatar

Placeholder Description for AntiPetros DiscordBot

if you want to suggest and feature or an idea for a new command

Use the command -->

@AntiPetros new_feature [YOUR SUGGESTION TEXT]

You can even attach images to the suggestion.

Installation

Via PyPi

Use the following command with pip:

pip install antipetros_discordbot==0.1.11

Features

Currently usable Cogs

ImageManipulatorCog

Description
Soon
Commands
  • AVAILABLE_STAMPS

    • aliases: availablestamps, available-stamps, available.stamps
    • checks: in_allowed_channels, has_any_role

  • MAP_CHANGED

    • aliases: map.changed, map-changed, mapchanged
    • checks: allowed_channel_and_allowed_role
    • signature:
      <marker> <color>
      

  • MEMBER_AVATAR

    • aliases: memberavatar, member.avatar, member-avatar
    • checks: in_allowed_channels, has_any_role

  • STAMP_IMAGE

    • aliases: stampimage, antistasify, stamp-image, stamp.image
    • checks: in_allowed_channels, has_any_role
    • signature:
      [stamp=ASLOGO1] [first_pos=bottom] [second_pos=right] [factor]
      


KlimBimCog

Description
Soon
Commands
  • FLIP_COIN

    • aliases: flip, flip-coin, flip.coin, flipcoin
    • checks: allowed_channel_and_allowed_role

  • MAKE_FIGLET

    • aliases: makefiglet, make-figlet, make.figlet
    • checks: allowed_channel_and_allowed_role
    • signature:
      <text>
      

  • THE_DRAGON

    • aliases: the-dragon, the.dragon, thedragon
    • checks: allowed_channel_and_allowed_role

  • URBAN_DICTIONARY

    • checks: allowed_channel_and_allowed_role
    • signature:
      <term>
      


SaveSuggestionCog

Description
Soon
Commands
  • AUTO_ACCEPT_SUGGESTIONS

    • aliases: auto.accept.suggestions, auto-accept-suggestions, autoacceptsuggestions
    • checks: dm_only

  • CLEAR_ALL_SUGGESTIONS

    • aliases: clearallsuggestions, clear.all.suggestions, clear-all-suggestions
    • checks: in_allowed_channels, has_any_role
    • signature:
      [sure=False]
      

  • GET_ALL_SUGGESTIONS

    • aliases: getallsuggestions, get-all-suggestions, get.all.suggestions
    • checks: in_allowed_channels, has_any_role
    • signature:
      [report_template=basic_report.html.jinja]
      

  • MARK_DISCUSSED

    • aliases: mark.discussed, mark-discussed, markdiscussed
    • checks: in_allowed_channels, has_any_role
    • signature:
      [suggestion_ids...]
      

  • REMOVE_ALL_USERDATA

    • aliases: remove.all.my.data, removeallmydata, remove-all-userdata, removealluserdata, remove-all-my-data, remove.all.userdata
    • checks: dm_only

  • REQUEST_MY_DATA

    • aliases: requestmydata, request-my-data, request.my.data
    • checks: dm_only

  • USER_DELETE_SUGGESTION

    • aliases: unsavesuggestion, user.delete.suggestion, unsave.suggestion, unsave-suggestion, user-delete-suggestion, userdeletesuggestion
    • checks: dm_only
    • signature:
      <suggestion_id>
      


TranslateCog

Description
Soon
Commands
  • TRANSLATE

    + Translates text into multiple different languages.
    
    • checks: allowed_channel_and_allowed_role
    • signature:
      [to_language_id=english] <text_to_translate>
      


Dependencies

Currently only tested on Windows

Developed with Python Version 3.9.1

  • Jinja2<=2.11.2
  • googletrans<=4.0.0rc1
  • icecream<=2.0.0
  • aiohttp<=3.7.3
  • watchgod<=0.6
  • emoji<=1.1.0
  • discord_flags<=2.1.1
  • cryptography<=3.3.1
  • WeasyPrint<=52.2
  • fuzzywuzzy<=0.18.0
  • matplotlib<=3.3.3
  • psutil<=5.8.0
  • marshmallow<=3.10.0
  • arrow<=0.17.0
  • dateparser<=1.0.0
  • humanize<=3.2.0
  • pyfiglet<=0.8.post1
  • async_property<=0.2.1
  • click<=7.1.2
  • pytz<=2020.5
  • antistasi_template_checker<=0.1.1
  • discord<=1.0.1
  • gidappdata<=0.1.8
  • gidlogger<=0.1.7
  • Pillow<=8.1.0
  • python-dotenv<=0.15.0
  • udpy<=2.0.0

See also

License

MIT

Development

Todo

TODOS FROM CODE

todo __main__.py:


todo blacklist_warden.py:


todo error_handler.py:


todo admin_cog.py:


todo config_cog.py:


todo performance_cog.py:


todo purge_messages_cog.py:


todo general_debug_cog.py:


todo image_manipulation_cog.py:


todo save_link_cog.py:


todo save_suggestion_cog.py:


idea render_new_cog_file.py:


idea antipetros_bot.py:

  • antipetros_bot.py line 58: Use an assistant class to hold some of the properties and then use the __getattr__ to make it look as one object, just for structuring

todo antipetros_bot.py:


todo sqldata_storager.py:


General Todos

Project details


Download files

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

Source Distribution

antipetros_discordbot-0.2.12.tar.gz (21.4 MB view hashes)

Uploaded Source

Built Distribution

antipetros_discordbot-0.2.12-py2.py3-none-any.whl (21.5 MB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page