Skip to content

Commit

Permalink
Merge pull request #41 from hhollenstain/8.0.0-intents
Browse files Browse the repository at this point in the history
8.0.0 - intents fix
  • Loading branch information
hhollenstain authored Nov 7, 2020
2 parents 345a7ee + 06fa499 commit 93f3ecd
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 23 deletions.
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ autochannel = {editable = true, path = "."}
"discord.py" = {git = "https://github.com/Rapptz/discord.py", ref = "master"}

[requires]
python_version = "3.6"
python_version = "3.6.8"
44 changes: 25 additions & 19 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion autochannel/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
init - version info
"""
VERSION_INFO = (7, 0, 1)
VERSION_INFO = (8, 0, 0)
VERSION = '.'.join(str(c) for c in VERSION_INFO)
4 changes: 3 additions & 1 deletion autochannel/autochannel_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,12 @@ def main():
logging.getLogger('urllib3').setLevel(l_level)

LOG.info("LONG LIVE AutoChannel bot")
intents = discord.Intents.default()
LOG.info(f'Intents: {intents}')
autochannel = AutoChannel(shard_id=int(SHARD), shard_count=int(SHARD_COUNT),
command_prefix=BOT_PREFIX, app_id=APP_ID, voice_channel_prefix=VOICE_CHANNEL_PREFIX,
auto_channel_prefix=AUTO_CHANNEL_PREFIX, auto_categories=AUTO_CATEGORIES,
env=ENV, dbl_token=DBL_TOKEN)
env=ENV, dbl_token=DBL_TOKEN, intents=intents)

for extension in EXTENSIONS:
plugin.load('autochannel.lib.plugins.{}'.format(extension), autochannel)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
'aiomeasures',
'coloredlogs',
'dblpy',
'discord.py==1.4.2',
'discord.py==1.5.1',
'dblpy',
'flask_sqlalchemy',
'pip==18.0',
Expand Down

0 comments on commit 93f3ecd

Please sign in to comment.