Skip to content

Commit d15e7a9

Browse files
committed
Template v3.1.1
1 parent a842087 commit d15e7a9

File tree

7 files changed

+11
-7
lines changed

7 files changed

+11
-7
lines changed

UPDATES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
Here is the list of all the updates that I made on this template.
44

5+
### Version 3.1.1
6+
7+
* Fixed `TypeError: 'NoneType' object is not iterable` for prefix -> Python 3.10
8+
59
### Version 3.1
610

711
* Added a `@checks.is_owner` check which raises a `UserNotOwner` exception

bot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Description:
44
This is a template to create your own discord bot in python.
55
6-
Version: 3.1
6+
Version: 3.1.1
77
"""
88

99
import json
@@ -57,7 +57,7 @@
5757

5858
intents = discord.Intents.default()
5959

60-
bot = Bot(command_prefix=None, intents=intents) # The command prefix is a required argument, but will never be used
60+
bot = Bot(command_prefix="", intents=intents) # The command prefix is a required argument, but will never be used
6161
slash = SlashCommand(bot, sync_commands=True)
6262

6363

cogs/fun.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Description:
44
This is a template to create your own discord bot in python.
55
6-
Version: 3.1
6+
Version: 3.1.1
77
"""
88

99
import json

cogs/general.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Description:
44
This is a template to create your own discord bot in python.
55
6-
Version: 3.1
6+
Version: 3.1.1
77
"""
88

99
import json

cogs/moderation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Description:
44
This is a template to create your own discord bot in python.
55
6-
Version: 3.1
6+
Version: 3.1.1
77
"""
88

99
import json

cogs/owner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Description:
44
This is a template to create your own discord bot in python.
55
6-
Version: 3.1
6+
Version: 3.1.1
77
"""
88

99
import json

cogs/template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Description:
44
This is a template to create your own discord bot in python.
55
6-
Version: 3.1
6+
Version: 3.1.1
77
"""
88

99
import json

0 commit comments

Comments
 (0)