Add missing data statements. (#251)
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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."
|
||||
}
|
||||
|
||||
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user