@@ -187,5 +187,104 @@ async def hell(ctx: discord.ext.commands.Context, channel_alias: str):
187
187
await ctx .channel .send (f"Blue has earned his freedom... for now." )
188
188
189
189
190
+ @bot .command (name = "ct" , aliases = ["curation" ], brief = "Curation tutorial." )
191
+ async def curation_tutorial (ctx : discord .ext .commands .Context ):
192
+ l .debug (f"curation tutorial command invoked from { ctx .author .id } in channel { ctx .channel .id } - { ctx .message .jump_url } " )
193
+ await ctx .channel .send ("Curation tutorial:\n "
194
+ "🔗 https://bluemaxima.org/flashpoint/datahub/Curation_Tutorial" )
195
+
196
+
197
+ @bot .command (name = "av" , aliases = ["antivirus" , "avg" , "avast" ], brief = "Antivirus interference." )
198
+ async def antivirus (ctx : discord .ext .commands .Context ):
199
+ l .debug (f"antivirus command invoked from { ctx .author .id } in channel { ctx .channel .id } - { ctx .message .jump_url } " )
200
+ await ctx .channel .send ("Important Flashpoint components may be detected as a virus; this is a false positive.\n "
201
+ "🔗 https://bluemaxima.org/flashpoint/datahub/Troubleshooting_Antivirus_Interference" )
202
+
203
+
204
+ @bot .command (name = "ws" , aliases = ["whitescreen" , "wsod" ], brief = "White screen troubleshooting." )
205
+ async def whitescreen (ctx : discord .ext .commands .Context ):
206
+ l .debug (f"whitescreen command invoked from { ctx .author .id } in channel { ctx .channel .id } - { ctx .message .jump_url } " )
207
+ await ctx .channel .send ("Launching games always shows a blank white screen:\n "
208
+ "🔗 https://bluemaxima.org/flashpoint/datahub/Extended_FAQ#Troubleshooting" )
209
+
210
+
211
+ @bot .command (name = "faq" , brief = "FAQ." )
212
+ async def faq (ctx : discord .ext .commands .Context ):
213
+ l .debug (f"FAQ command invoked from { ctx .author .id } in channel { ctx .channel .id } - { ctx .message .jump_url } " )
214
+ await ctx .channel .send ("FAQ:\n "
215
+ "🔗 https://bluemaxima.org/flashpoint/datahub/Extended_FAQ" )
216
+
217
+
218
+ @bot .command (name = "not-accepted" , aliases = ["notaccepted" , "disallowed" , "blacklist" , "blacklisted" ], brief = "Not accepted curations." )
219
+ async def not_accepted (ctx : discord .ext .commands .Context ):
220
+ l .debug (f"not-accepted command invoked from { ctx .author .id } in channel { ctx .channel .id } - { ctx .message .jump_url } " )
221
+ await ctx .channel .send ("These are games/animations not allowed in Flashpoint for any reason:\n "
222
+ "🔗 https://bluemaxima.org/flashpoint/datahub/Not_Accepted_Curations" )
223
+
224
+
225
+ @bot .command (name = "nitrome" , brief = "Nitrome information." )
226
+ async def nitrome (ctx : discord .ext .commands .Context ):
227
+ l .debug (f"nitrome command invoked from { ctx .author .id } in channel { ctx .channel .id } - { ctx .message .jump_url } " )
228
+ await ctx .channel .send ("Nitrome politely asked us to remove their content from the collection. "
229
+ "If you're looking to play their games, do it at their website, and if Flash "
230
+ "isn't an option, follow their growing HTML5-compatible catalog. "
231
+ "Flashpoint does not condone harassment over Nitrome's decision." )
232
+
233
+
234
+ @bot .command (name = "meta" , aliases = ["curation-format" , "format" ], brief = "Metadata file." )
235
+ async def meta (ctx : discord .ext .commands .Context ):
236
+ l .debug (f"meta command invoked from { ctx .author .id } in channel { ctx .channel .id } - { ctx .message .jump_url } " )
237
+ await ctx .channel .send ("List of Metadata Fields:\n "
238
+ "🔗 https://bluemaxima.org/flashpoint/datahub/Curation_Format#List_of_Metadata_Fields" )
239
+
240
+
241
+ @bot .command (name = "tags" , brief = "Tags in Flashpoint." )
242
+ async def tags (ctx : discord .ext .commands .Context ):
243
+ l .debug (f"tags command invoked from { ctx .author .id } in channel { ctx .channel .id } - { ctx .message .jump_url } " )
244
+ await ctx .channel .send ("List of Tags:\n "
245
+ "🔗 https://bluemaxima.org/flashpoint/datahub/Tags" )
246
+
247
+
248
+ @bot .command (name = "lang" , aliases = ["langs" , "languages" ], brief = "Language codes." )
249
+ async def lang (ctx : discord .ext .commands .Context ):
250
+ l .debug (f"lang command invoked from { ctx .author .id } in channel { ctx .channel .id } - { ctx .message .jump_url } " )
251
+ await ctx .channel .send ("List of Language Codes:\n "
252
+ "🔗 https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes" )
253
+
254
+
255
+ @bot .command (name = "masterlist" , aliases = ["ml" , "master-list" , "list" , "games" , "animations" , "gamelist" , "game-list" , "search" ],
256
+ brief = "Link or search master list" )
257
+ async def master_list (ctx : discord .ext .commands .Context , search_query : Optional [str ] = None ):
258
+ if search_query is None :
259
+ l .debug (f"masterlist command invoked from { ctx .author .id } in channel { ctx .channel .id } - { ctx .message .jump_url } " )
260
+ await ctx .channel .send ("Browse Flashpoint Catalog:\n "
261
+ "🔗 https://nul.sh/misc/flashpoint/" )
262
+ else :
263
+ l .debug (f"masterlist with query command invoked from { ctx .author .id } in channel { ctx .channel .id } - { ctx .message .jump_url } " )
264
+ await ctx .channel .send ("Direct search not implemented yet.\n "
265
+ "🔗 https://nul.sh/misc/flashpoint/" )
266
+
267
+
268
+ @bot .command (name = "downloads" , aliases = ["dl" ], brief = "Where to download Flashpoint." )
269
+ async def downloads (ctx : discord .ext .commands .Context ):
270
+ l .debug (f"downloads command invoked from { ctx .author .id } in channel { ctx .channel .id } - { ctx .message .jump_url } " )
271
+ await ctx .channel .send ("Download Flashpoint from here:\n "
272
+ "🔗 https://bluemaxima.org/flashpoint/downloads/" )
273
+
274
+
275
+ @bot .command (name = "platforms" , aliases = ["plugins" ], brief = "Supported platforms in Flashpoint." )
276
+ async def platforms (ctx : discord .ext .commands .Context ):
277
+ l .debug (f"platforms command invoked from { ctx .author .id } in channel { ctx .channel .id } - { ctx .message .jump_url } " )
278
+ await ctx .channel .send ("Supported Platforms:\n "
279
+ "🔗 https://bluemaxima.org/flashpoint/platforms/" )
280
+
281
+
282
+ @bot .command (name = "github" , aliases = ["gh" ], brief = "Flashpoint Project GitHub." )
283
+ async def github (ctx : discord .ext .commands .Context ):
284
+ l .debug (f"github command invoked from { ctx .author .id } in channel { ctx .channel .id } - { ctx .message .jump_url } " )
285
+ await ctx .channel .send ("Flashpoint Project on GitHub:\n "
286
+ "🔗 https://github.com/FlashpointProject/" )
287
+
288
+
190
289
l .info (f"starting the bot..." )
191
290
bot .run (TOKEN )
0 commit comments