mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-05 11:27:13 +00:00
Remove encoding header from generated code
This commit is contained in:
parent
adaf7c6192
commit
4d44872511
@ -52,7 +52,6 @@ def core(parser, args):
|
|||||||
show_version()
|
show_version()
|
||||||
|
|
||||||
bot_template = """#!/usr/bin/env python3
|
bot_template = """#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
from discord.ext import commands
|
from discord.ext import commands
|
||||||
import discord
|
import discord
|
||||||
@ -108,9 +107,7 @@ var/
|
|||||||
config.py
|
config.py
|
||||||
"""
|
"""
|
||||||
|
|
||||||
cog_template = '''# -*- coding: utf-8 -*-
|
cog_template = '''from discord.ext import commands
|
||||||
|
|
||||||
from discord.ext import commands
|
|
||||||
import discord
|
import discord
|
||||||
|
|
||||||
class {name}(commands.Cog{attrs}):
|
class {name}(commands.Cog{attrs}):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user