Add missing data statements. (#251)

This commit is contained in:
PredaaA
2021-10-19 01:56:05 +02:00
committed by GitHub
parent d34732def7
commit 43902aefc9
18 changed files with 47 additions and 5 deletions

View File

@@ -1,5 +1,7 @@
from .urlfetch import UrlFetch
__red_end_user_data_statement__ = "This cog does not persistently store data or metadata about users."
def setup(bot):
bot.add_cog(UrlFetch(bot))

View File

@@ -3,5 +3,6 @@
"install_msg": "Thanks for installing.",
"short": "Fetch text from a URL.",
"description": "Fetch text from a URL.",
"tags": ["api"]
"tags": ["api"],
"end_user_data_statement": "This cog does not persistently store data or metadata about users."
}

View File

@@ -21,6 +21,10 @@ class UrlFetch(commands.Cog):
self._headers = {'User-Agent': 'Python/3.8'}
async def red_delete_data_for_user(self, **kwargs):
"""Nothing to delete"""
return
@commands.command()
async def urlfetch(self, ctx, url: str):
"""