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.14.tar.gz (21.4 MB view details)

Uploaded Source

Built Distribution

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

antipetros_discordbot-0.2.14-py2.py3-none-any.whl (21.5 MB view details)

Uploaded Python 2Python 3

File details

Details for the file antipetros_discordbot-0.2.14.tar.gz.

File metadata

  • Download URL: antipetros_discordbot-0.2.14.tar.gz
  • Upload date:
  • Size: 21.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for antipetros_discordbot-0.2.14.tar.gz
Algorithm Hash digest
SHA256 84b8efb7761aa40c034a47c52ed13928edb9b6d37936cd552adad2e3d0e0d6f8
MD5 b8004352a6c5d1e1cc77f6d624eb446b
BLAKE2b-256 addfc78fcd50429e9bb4257a42abfa8502adb540d3905a5db60241a57147e8dd

See more details on using hashes here.

File details

Details for the file antipetros_discordbot-0.2.14-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for antipetros_discordbot-0.2.14-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 72b82fe2011b216d2c84afd7bff8a6fec37a98ec8a1b3370f81f58524367e540
MD5 d6f6084888d4dd3ad0fe80b941ad0f6f
BLAKE2b-256 bf278e3ce0877f479fd2c95c7c6294c3efcdbe283be5f6551c9f6f573de1f201

See more details on using hashes here.

Supported by

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