|
|
@ -16,12 +16,12 @@ class SCP(Cog):
|
|
|
|
"""Look up SCP articles.
|
|
|
|
"""Look up SCP articles.
|
|
|
|
|
|
|
|
|
|
|
|
Warning: Some of them may be too creepy or gruesome.
|
|
|
|
Warning: Some of them may be too creepy or gruesome.
|
|
|
|
Reminder: You must specify a number between 1 and 4999.
|
|
|
|
Reminder: You must specify a number between 1 and 5999.
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
# Thanks Shigbeard and Redjumpman for helping me!
|
|
|
|
# Thanks Shigbeard and Redjumpman for helping me!
|
|
|
|
|
|
|
|
|
|
|
|
if 0 < num <= 4999:
|
|
|
|
if 0 < num <= 5999:
|
|
|
|
msg = "http://www.scp-wiki.net/scp-{:03}".format(num)
|
|
|
|
msg = "http://www.scp-wiki.net/scp-{:03}".format(num)
|
|
|
|
c = discord.Color.green()
|
|
|
|
c = discord.Color.green()
|
|
|
|
else:
|
|
|
|
else:
|
|
|
@ -50,10 +50,11 @@ class SCP(Cog):
|
|
|
|
|
|
|
|
|
|
|
|
Warning: Some of them may be too creepy or gruesome."""
|
|
|
|
Warning: Some of them may be too creepy or gruesome."""
|
|
|
|
valid_archive = (
|
|
|
|
valid_archive = (
|
|
|
|
|
|
|
|
1,
|
|
|
|
13,
|
|
|
|
13,
|
|
|
|
48,
|
|
|
|
48,
|
|
|
|
|
|
|
|
49,
|
|
|
|
51,
|
|
|
|
51,
|
|
|
|
89,
|
|
|
|
|
|
|
|
91,
|
|
|
|
91,
|
|
|
|
112,
|
|
|
|
112,
|
|
|
|
132,
|
|
|
|
132,
|
|
|
@ -67,10 +68,9 @@ class SCP(Cog):
|
|
|
|
257,
|
|
|
|
257,
|
|
|
|
338,
|
|
|
|
338,
|
|
|
|
356,
|
|
|
|
356,
|
|
|
|
361,
|
|
|
|
|
|
|
|
400,
|
|
|
|
400,
|
|
|
|
406,
|
|
|
|
406,
|
|
|
|
503,
|
|
|
|
494,
|
|
|
|
515,
|
|
|
|
515,
|
|
|
|
517,
|
|
|
|
517,
|
|
|
|
578,
|
|
|
|
578,
|
|
|
@ -106,7 +106,37 @@ class SCP(Cog):
|
|
|
|
Warning: Some of them may be too creepy or gruesome.
|
|
|
|
Warning: Some of them may be too creepy or gruesome.
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
valid_archive = (711, 920, 1841, 1851, 1974, 2600, 4023, 8900)
|
|
|
|
valid_archive = (
|
|
|
|
|
|
|
|
1,
|
|
|
|
|
|
|
|
2,
|
|
|
|
|
|
|
|
67,
|
|
|
|
|
|
|
|
123,
|
|
|
|
|
|
|
|
445,
|
|
|
|
|
|
|
|
711,
|
|
|
|
|
|
|
|
888,
|
|
|
|
|
|
|
|
920,
|
|
|
|
|
|
|
|
1094,
|
|
|
|
|
|
|
|
1401,
|
|
|
|
|
|
|
|
1512,
|
|
|
|
|
|
|
|
1548,
|
|
|
|
|
|
|
|
1763,
|
|
|
|
|
|
|
|
1841,
|
|
|
|
|
|
|
|
1851,
|
|
|
|
|
|
|
|
1927,
|
|
|
|
|
|
|
|
1933,
|
|
|
|
|
|
|
|
1964,
|
|
|
|
|
|
|
|
1974,
|
|
|
|
|
|
|
|
1990,
|
|
|
|
|
|
|
|
2600,
|
|
|
|
|
|
|
|
2700,
|
|
|
|
|
|
|
|
3000,
|
|
|
|
|
|
|
|
4023,
|
|
|
|
|
|
|
|
4445,
|
|
|
|
|
|
|
|
4734,
|
|
|
|
|
|
|
|
5297,
|
|
|
|
|
|
|
|
5735,
|
|
|
|
|
|
|
|
8900,
|
|
|
|
|
|
|
|
)
|
|
|
|
if num in valid_archive:
|
|
|
|
if num in valid_archive:
|
|
|
|
msg = "http://www.scp-wiki.net/scp-{:03}-ex".format(num)
|
|
|
|
msg = "http://www.scp-wiki.net/scp-{:03}-ex".format(num)
|
|
|
|
c = discord.Color.green()
|
|
|
|
c = discord.Color.green()
|
|
|
|