Merge branch 'master' into dev

This commit is contained in:
Ev-1 committed 2021-05-18 17:48:25 +02:00
commit 2885a6284c
3 files changed
+8 -3

No files matched your search

+6 -1
View File
@@ -1,6 +1,7 @@
# Discord Packages
import discord
from discord.ext import commands
from discord.flags import MemberCacheFlags
import codecs
import os
@@ -41,8 +42,12 @@ def _get_prefix(bot, message):
class Bot(commands.Bot):
def __init__(self, datadir, debug: bool = False):
intents = discord.Intents.all()
super().__init__(command_prefix=_get_prefix,
description=conf["bot"]["description"])
description=conf["bot"]["description"],
intents=intents,
member_cache_flags=MemberCacheFlags.from_intents(intents)
)
self.settings = Settings(datadir, **conf['default server settings'])
self.APIkeys = conf.get('APIkeys', {})
+1 -1
View File
@@ -1 +1 @@
bot_version = "0.1.7"
bot_version = "0.1.11"
+1 -1
View File
@@ -1,4 +1,4 @@
discord.py
discord.py == 1.7.*
git+https://github.com/Devoxin/Lavalink.py@dev
asyncio
pyyaml