mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Update "copyright notice" for Dev cog (#5527)
This commit is contained in:
parent
6ff844e605
commit
cfa8f15faa
@ -1,3 +1,15 @@
|
||||
"""
|
||||
The original implementation of this cog was heavily based on
|
||||
RoboDanny's REPL cog which can be found here:
|
||||
https://github.com/Rapptz/RoboDanny/blob/f13e1c9a6a7205e50de6f91fa5326fc7113332d3/cogs/repl.py
|
||||
|
||||
Copyright (c) 2017-present Cog Creators
|
||||
Copyright (c) 2016-2017 Rapptz
|
||||
|
||||
The original copy was distributed under MIT License and this derivative work
|
||||
is distributed under GNU GPL Version 3.
|
||||
"""
|
||||
|
||||
import ast
|
||||
import asyncio
|
||||
import aiohttp
|
||||
@ -18,14 +30,6 @@ from .i18n import Translator, cog_i18n
|
||||
from .utils.chat_formatting import pagify
|
||||
from .utils.predicates import MessagePredicate
|
||||
|
||||
"""
|
||||
Notice:
|
||||
|
||||
95% of the below code came from R.Danny which can be found here:
|
||||
|
||||
https://github.com/Rapptz/RoboDanny/blob/master/cogs/repl.py
|
||||
"""
|
||||
|
||||
_ = Translator("Dev", __file__)
|
||||
|
||||
START_CODE_BLOCK_RE = re.compile(r"^((```py(thon)?)(?=\s)|(```))")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user