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.13.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.13-py2.py3-none-any.whl (21.5 MB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: antipetros_discordbot-0.2.13.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.13.tar.gz
Algorithm Hash digest
SHA256 f26972b1fd350f1f274aff46f975b6480a2ba6dab7d3e9fb407f7df3c1499868
MD5 3affe39e31ca83a22da634ecea58049a
BLAKE2b-256 883ef195c2673c1655da3908a0a910be8b750aad951ab73d1bb576565e651d95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for antipetros_discordbot-0.2.13-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c1bfab28a2cd662e4539ddfcc2c624cb8e532136b5e40b734f0e97d3e6ee6996
MD5 9a211adc4fbd18aa746e7d5c7a2bd7b2
BLAKE2b-256 91524408387a3199ae9ec2a17212dac56f8fc5a3e329e0baa73c18859613d5b0

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