Black format update

pull/149/head
bobloy 4 years ago
parent 8c0a1db06f
commit d0445f41c7

@ -90,7 +90,9 @@ class AudioTrivia(Trivia):
categories = [c.lower() for c in categories] categories = [c.lower() for c in categories]
session = self._get_trivia_session(ctx.channel) session = self._get_trivia_session(ctx.channel)
if session is not None: if session is not None:
await ctx.maybe_send_embed("There is already an ongoing trivia session in this channel.") await ctx.maybe_send_embed(
"There is already an ongoing trivia session in this channel."
)
return return
status = await self.audio.config.status() status = await self.audio.config.status()
notify = await self.audio.config.guild(ctx.guild).notify() notify = await self.audio.config.guild(ctx.guild).notify()
@ -110,7 +112,9 @@ class AudioTrivia(Trivia):
if not ctx.author.voice.channel.permissions_for( if not ctx.author.voice.channel.permissions_for(
ctx.me ctx.me
).connect or self.audio.is_vc_full(ctx.author.voice.channel): ).connect or self.audio.is_vc_full(ctx.author.voice.channel):
return await ctx.maybe_send_embed("I don't have permission to connect to your channel.") return await ctx.maybe_send_embed(
"I don't have permission to connect to your channel."
)
await lavalink.connect(ctx.author.voice.channel) await lavalink.connect(ctx.author.voice.channel)
lavaplayer = lavalink.get_player(ctx.guild.id) lavaplayer = lavalink.get_player(ctx.guild.id)
lavaplayer.store("connect", datetime.datetime.utcnow()) lavaplayer.store("connect", datetime.datetime.utcnow())

@ -143,8 +143,9 @@ class CCRole(commands.Cog):
return return
# Selfrole # Selfrole
await ctx.send("Is this a targeted command?(yes/no)\n" await ctx.send(
"No will make this a selfrole command") "Is this a targeted command?(yes/no)\n" "No will make this a selfrole command"
)
try: try:
answer = await self.bot.wait_for("message", timeout=120, check=check) answer = await self.bot.wait_for("message", timeout=120, check=check)

@ -159,7 +159,12 @@ class Conquest(commands.Cog):
self.data_path / self.current_map / f"current.{self.ext}", x, y, zoom self.data_path / self.current_map / f"current.{self.ext}", x, y, zoom
) )
await ctx.send(file=discord.File(fp=zoomed_path, filename=f"current_zoomed.{self.ext}",)) await ctx.send(
file=discord.File(
fp=zoomed_path,
filename=f"current_zoomed.{self.ext}",
)
)
async def _create_zoomed_map(self, map_path, x, y, zoom, **kwargs): async def _create_zoomed_map(self, map_path, x, y, zoom, **kwargs):
current_map = Image.open(map_path) current_map = Image.open(map_path)

@ -15,182 +15,216 @@ def assemble_timezones():
""" """
timezones = {} timezones = {}
timezones['ACDT'] = timezone('Australia/Darwin') # Australian Central Daylight Savings Time (UTC+10:30) timezones["ACDT"] = timezone(
timezones['ACST'] = timezone('Australia/Darwin') # Australian Central Standard Time (UTC+09:30) "Australia/Darwin"
timezones['ACT'] = timezone('Brazil/Acre') # Acre Time (UTC05) ) # Australian Central Daylight Savings Time (UTC+10:30)
timezones['ADT'] = timezone('America/Halifax') # Atlantic Daylight Time (UTC03) timezones["ACST"] = timezone(
timezones['AEDT'] = timezone('Australia/Sydney') # Australian Eastern Daylight Savings Time (UTC+11) "Australia/Darwin"
timezones['AEST'] = timezone('Australia/Sydney') # Australian Eastern Standard Time (UTC+10) ) # Australian Central Standard Time (UTC+09:30)
timezones['AFT'] = timezone('Asia/Kabul') # Afghanistan Time (UTC+04:30) timezones["ACT"] = timezone("Brazil/Acre") # Acre Time (UTC05)
timezones['AKDT'] = timezone('America/Juneau') # Alaska Daylight Time (UTC08) timezones["ADT"] = timezone("America/Halifax") # Atlantic Daylight Time (UTC03)
timezones['AKST'] = timezone('America/Juneau') # Alaska Standard Time (UTC09) timezones["AEDT"] = timezone(
timezones['AMST'] = timezone('America/Manaus') # Amazon Summer Time (Brazil)[1] (UTC03) "Australia/Sydney"
timezones['AMT'] = timezone('America/Manaus') # Amazon Time (Brazil)[2] (UTC04) ) # Australian Eastern Daylight Savings Time (UTC+11)
timezones['ART'] = timezone('America/Cordoba') # Argentina Time (UTC03) timezones["AEST"] = timezone("Australia/Sydney") # Australian Eastern Standard Time (UTC+10)
timezones['AST'] = timezone('Asia/Riyadh') # Arabia Standard Time (UTC+03) timezones["AFT"] = timezone("Asia/Kabul") # Afghanistan Time (UTC+04:30)
timezones['AWST'] = timezone('Australia/Perth') # Australian Western Standard Time (UTC+08) timezones["AKDT"] = timezone("America/Juneau") # Alaska Daylight Time (UTC08)
timezones['AZOST'] = timezone('Atlantic/Azores') # Azores Summer Time (UTC±00) timezones["AKST"] = timezone("America/Juneau") # Alaska Standard Time (UTC09)
timezones['AZOT'] = timezone('Atlantic/Azores') # Azores Standard Time (UTC01) timezones["AMST"] = timezone("America/Manaus") # Amazon Summer Time (Brazil)[1] (UTC03)
timezones['AZT'] = timezone('Asia/Baku') # Azerbaijan Time (UTC+04) timezones["AMT"] = timezone("America/Manaus") # Amazon Time (Brazil)[2] (UTC04)
timezones['BDT'] = timezone('Asia/Brunei') # Brunei Time (UTC+08) timezones["ART"] = timezone("America/Cordoba") # Argentina Time (UTC03)
timezones['BIOT'] = timezone('Etc/GMT+6') # British Indian Ocean Time (UTC+06) timezones["AST"] = timezone("Asia/Riyadh") # Arabia Standard Time (UTC+03)
timezones['BIT'] = timezone('Pacific/Funafuti') # Baker Island Time (UTC12) timezones["AWST"] = timezone("Australia/Perth") # Australian Western Standard Time (UTC+08)
timezones['BOT'] = timezone('America/La_Paz') # Bolivia Time (UTC04) timezones["AZOST"] = timezone("Atlantic/Azores") # Azores Summer Time (UTC±00)
timezones['BRST'] = timezone('America/Sao_Paulo') # Brasilia Summer Time (UTC02) timezones["AZOT"] = timezone("Atlantic/Azores") # Azores Standard Time (UTC01)
timezones['BRT'] = timezone('America/Sao_Paulo') # Brasilia Time (UTC03) timezones["AZT"] = timezone("Asia/Baku") # Azerbaijan Time (UTC+04)
timezones['BST'] = timezone('Asia/Dhaka') # Bangladesh Standard Time (UTC+06) timezones["BDT"] = timezone("Asia/Brunei") # Brunei Time (UTC+08)
timezones['BTT'] = timezone('Asia/Thimphu') # Bhutan Time (UTC+06) timezones["BIOT"] = timezone("Etc/GMT+6") # British Indian Ocean Time (UTC+06)
timezones['CAT'] = timezone('Africa/Harare') # Central Africa Time (UTC+02) timezones["BIT"] = timezone("Pacific/Funafuti") # Baker Island Time (UTC12)
timezones['CCT'] = timezone('Indian/Cocos') # Cocos Islands Time (UTC+06:30) timezones["BOT"] = timezone("America/La_Paz") # Bolivia Time (UTC04)
timezones['CDT'] = timezone('America/Chicago') # Central Daylight Time (North America) (UTC05) timezones["BRST"] = timezone("America/Sao_Paulo") # Brasilia Summer Time (UTC02)
timezones['CEST'] = timezone('Europe/Berlin') # Central European Summer Time (Cf. HAEC) (UTC+02) timezones["BRT"] = timezone("America/Sao_Paulo") # Brasilia Time (UTC03)
timezones['CET'] = timezone('Europe/Berlin') # Central European Time (UTC+01) timezones["BST"] = timezone("Asia/Dhaka") # Bangladesh Standard Time (UTC+06)
timezones['CHADT'] = timezone('Pacific/Chatham') # Chatham Daylight Time (UTC+13:45) timezones["BTT"] = timezone("Asia/Thimphu") # Bhutan Time (UTC+06)
timezones['CHAST'] = timezone('Pacific/Chatham') # Chatham Standard Time (UTC+12:45) timezones["CAT"] = timezone("Africa/Harare") # Central Africa Time (UTC+02)
timezones['CHOST'] = timezone('Asia/Choibalsan') # Choibalsan Summer Time (UTC+09) timezones["CCT"] = timezone("Indian/Cocos") # Cocos Islands Time (UTC+06:30)
timezones['CHOT'] = timezone('Asia/Choibalsan') # Choibalsan Standard Time (UTC+08) timezones["CDT"] = timezone(
timezones['CHST'] = timezone('Pacific/Guam') # Chamorro Standard Time (UTC+10) "America/Chicago"
timezones['CHUT'] = timezone('Pacific/Chuuk') # Chuuk Time (UTC+10) ) # Central Daylight Time (North America) (UTC05)
timezones['CIST'] = timezone('Etc/GMT-8') # Clipperton Island Standard Time (UTC08) timezones["CEST"] = timezone(
timezones['CIT'] = timezone('Asia/Makassar') # Central Indonesia Time (UTC+08) "Europe/Berlin"
timezones['CKT'] = timezone('Pacific/Rarotonga') # Cook Island Time (UTC10) ) # Central European Summer Time (Cf. HAEC) (UTC+02)
timezones['CLST'] = timezone('America/Santiago') # Chile Summer Time (UTC03) timezones["CET"] = timezone("Europe/Berlin") # Central European Time (UTC+01)
timezones['CLT'] = timezone('America/Santiago') # Chile Standard Time (UTC04) timezones["CHADT"] = timezone("Pacific/Chatham") # Chatham Daylight Time (UTC+13:45)
timezones['COST'] = timezone('America/Bogota') # Colombia Summer Time (UTC04) timezones["CHAST"] = timezone("Pacific/Chatham") # Chatham Standard Time (UTC+12:45)
timezones['COT'] = timezone('America/Bogota') # Colombia Time (UTC05) timezones["CHOST"] = timezone("Asia/Choibalsan") # Choibalsan Summer Time (UTC+09)
timezones['CST'] = timezone('America/Chicago') # Central Standard Time (North America) (UTC06) timezones["CHOT"] = timezone("Asia/Choibalsan") # Choibalsan Standard Time (UTC+08)
timezones['CT'] = timezone('Asia/Chongqing') # China time (UTC+08) timezones["CHST"] = timezone("Pacific/Guam") # Chamorro Standard Time (UTC+10)
timezones['CVT'] = timezone('Atlantic/Cape_Verde') # Cape Verde Time (UTC01) timezones["CHUT"] = timezone("Pacific/Chuuk") # Chuuk Time (UTC+10)
timezones['CXT'] = timezone('Indian/Christmas') # Christmas Island Time (UTC+07) timezones["CIST"] = timezone("Etc/GMT-8") # Clipperton Island Standard Time (UTC08)
timezones['DAVT'] = timezone('Antarctica/Davis') # Davis Time (UTC+07) timezones["CIT"] = timezone("Asia/Makassar") # Central Indonesia Time (UTC+08)
timezones['DDUT'] = timezone('Antarctica/DumontDUrville') # Dumont d'Urville Time (UTC+10) timezones["CKT"] = timezone("Pacific/Rarotonga") # Cook Island Time (UTC10)
timezones['DFT'] = timezone('Europe/Berlin') # AIX equivalent of Central European Time (UTC+01) timezones["CLST"] = timezone("America/Santiago") # Chile Summer Time (UTC03)
timezones['EASST'] = timezone('Chile/EasterIsland') # Easter Island Summer Time (UTC05) timezones["CLT"] = timezone("America/Santiago") # Chile Standard Time (UTC04)
timezones['EAST'] = timezone('Chile/EasterIsland') # Easter Island Standard Time (UTC06) timezones["COST"] = timezone("America/Bogota") # Colombia Summer Time (UTC04)
timezones['EAT'] = timezone('Africa/Mogadishu') # East Africa Time (UTC+03) timezones["COT"] = timezone("America/Bogota") # Colombia Time (UTC05)
timezones['ECT'] = timezone('America/Guayaquil') # Ecuador Time (UTC05) timezones["CST"] = timezone(
timezones['EDT'] = timezone('America/New_York') # Eastern Daylight Time (North America) (UTC04) "America/Chicago"
timezones['EEST'] = timezone('Europe/Bucharest') # Eastern European Summer Time (UTC+03) ) # Central Standard Time (North America) (UTC06)
timezones['EET'] = timezone('Europe/Bucharest') # Eastern European Time (UTC+02) timezones["CT"] = timezone("Asia/Chongqing") # China time (UTC+08)
timezones['EGST'] = timezone('America/Scoresbysund') # Eastern Greenland Summer Time (UTC±00) timezones["CVT"] = timezone("Atlantic/Cape_Verde") # Cape Verde Time (UTC01)
timezones['EGT'] = timezone('America/Scoresbysund') # Eastern Greenland Time (UTC01) timezones["CXT"] = timezone("Indian/Christmas") # Christmas Island Time (UTC+07)
timezones['EIT'] = timezone('Asia/Jayapura') # Eastern Indonesian Time (UTC+09) timezones["DAVT"] = timezone("Antarctica/Davis") # Davis Time (UTC+07)
timezones['EST'] = timezone('America/New_York') # Eastern Standard Time (North America) (UTC05) timezones["DDUT"] = timezone("Antarctica/DumontDUrville") # Dumont d'Urville Time (UTC+10)
timezones['FET'] = timezone('Europe/Minsk') # Further-eastern European Time (UTC+03) timezones["DFT"] = timezone(
timezones['FJT'] = timezone('Pacific/Fiji') # Fiji Time (UTC+12) "Europe/Berlin"
timezones['FKST'] = timezone('Atlantic/Stanley') # Falkland Islands Summer Time (UTC03) ) # AIX equivalent of Central European Time (UTC+01)
timezones['FKT'] = timezone('Atlantic/Stanley') # Falkland Islands Time (UTC04) timezones["EASST"] = timezone("Chile/EasterIsland") # Easter Island Summer Time (UTC05)
timezones['FNT'] = timezone('Brazil/DeNoronha') # Fernando de Noronha Time (UTC02) timezones["EAST"] = timezone("Chile/EasterIsland") # Easter Island Standard Time (UTC06)
timezones['GALT'] = timezone('Pacific/Galapagos') # Galapagos Time (UTC06) timezones["EAT"] = timezone("Africa/Mogadishu") # East Africa Time (UTC+03)
timezones['GAMT'] = timezone('Pacific/Gambier') # Gambier Islands (UTC09) timezones["ECT"] = timezone("America/Guayaquil") # Ecuador Time (UTC05)
timezones['GET'] = timezone('Asia/Tbilisi') # Georgia Standard Time (UTC+04) timezones["EDT"] = timezone(
timezones['GFT'] = timezone('America/Cayenne') # French Guiana Time (UTC03) "America/New_York"
timezones['GILT'] = timezone('Pacific/Tarawa') # Gilbert Island Time (UTC+12) ) # Eastern Daylight Time (North America) (UTC04)
timezones['GIT'] = timezone('Pacific/Gambier') # Gambier Island Time (UTC09) timezones["EEST"] = timezone("Europe/Bucharest") # Eastern European Summer Time (UTC+03)
timezones['GMT'] = timezone('GMT') # Greenwich Mean Time (UTC±00) timezones["EET"] = timezone("Europe/Bucharest") # Eastern European Time (UTC+02)
timezones['GST'] = timezone('Asia/Muscat') # Gulf Standard Time (UTC+04) timezones["EGST"] = timezone("America/Scoresbysund") # Eastern Greenland Summer Time (UTC±00)
timezones['GYT'] = timezone('America/Guyana') # Guyana Time (UTC04) timezones["EGT"] = timezone("America/Scoresbysund") # Eastern Greenland Time (UTC01)
timezones['HADT'] = timezone('Pacific/Honolulu') # Hawaii-Aleutian Daylight Time (UTC09) timezones["EIT"] = timezone("Asia/Jayapura") # Eastern Indonesian Time (UTC+09)
timezones['HAEC'] = timezone('Europe/Paris') # Heure Avancée d'Europe Centrale (CEST) (UTC+02) timezones["EST"] = timezone(
timezones['HAST'] = timezone('Pacific/Honolulu') # Hawaii-Aleutian Standard Time (UTC10) "America/New_York"
timezones['HKT'] = timezone('Asia/Hong_Kong') # Hong Kong Time (UTC+08) ) # Eastern Standard Time (North America) (UTC05)
timezones['HMT'] = timezone('Indian/Kerguelen') # Heard and McDonald Islands Time (UTC+05) timezones["FET"] = timezone("Europe/Minsk") # Further-eastern European Time (UTC+03)
timezones['HOVST'] = timezone('Asia/Hovd') # Khovd Summer Time (UTC+08) timezones["FJT"] = timezone("Pacific/Fiji") # Fiji Time (UTC+12)
timezones['HOVT'] = timezone('Asia/Hovd') # Khovd Standard Time (UTC+07) timezones["FKST"] = timezone("Atlantic/Stanley") # Falkland Islands Summer Time (UTC03)
timezones['ICT'] = timezone('Asia/Ho_Chi_Minh') # Indochina Time (UTC+07) timezones["FKT"] = timezone("Atlantic/Stanley") # Falkland Islands Time (UTC04)
timezones['IDT'] = timezone('Asia/Jerusalem') # Israel Daylight Time (UTC+03) timezones["FNT"] = timezone("Brazil/DeNoronha") # Fernando de Noronha Time (UTC02)
timezones['IOT'] = timezone('Etc/GMT+3') # Indian Ocean Time (UTC+03) timezones["GALT"] = timezone("Pacific/Galapagos") # Galapagos Time (UTC06)
timezones['IRDT'] = timezone('Asia/Tehran') # Iran Daylight Time (UTC+04:30) timezones["GAMT"] = timezone("Pacific/Gambier") # Gambier Islands (UTC09)
timezones['IRKT'] = timezone('Asia/Irkutsk') # Irkutsk Time (UTC+08) timezones["GET"] = timezone("Asia/Tbilisi") # Georgia Standard Time (UTC+04)
timezones['IRST'] = timezone('Asia/Tehran') # Iran Standard Time (UTC+03:30) timezones["GFT"] = timezone("America/Cayenne") # French Guiana Time (UTC03)
timezones['IST'] = timezone('Asia/Kolkata') # Indian Standard Time (UTC+05:30) timezones["GILT"] = timezone("Pacific/Tarawa") # Gilbert Island Time (UTC+12)
timezones['JST'] = timezone('Asia/Tokyo') # Japan Standard Time (UTC+09) timezones["GIT"] = timezone("Pacific/Gambier") # Gambier Island Time (UTC09)
timezones['KGT'] = timezone('Asia/Bishkek') # Kyrgyzstan time (UTC+06) timezones["GMT"] = timezone("GMT") # Greenwich Mean Time (UTC±00)
timezones['KOST'] = timezone('Pacific/Kosrae') # Kosrae Time (UTC+11) timezones["GST"] = timezone("Asia/Muscat") # Gulf Standard Time (UTC+04)
timezones['KRAT'] = timezone('Asia/Krasnoyarsk') # Krasnoyarsk Time (UTC+07) timezones["GYT"] = timezone("America/Guyana") # Guyana Time (UTC04)
timezones['KST'] = timezone('Asia/Seoul') # Korea Standard Time (UTC+09) timezones["HADT"] = timezone("Pacific/Honolulu") # Hawaii-Aleutian Daylight Time (UTC09)
timezones['LHST'] = timezone('Australia/Lord_Howe') # Lord Howe Standard Time (UTC+10:30) timezones["HAEC"] = timezone("Europe/Paris") # Heure Avancée d'Europe Centrale (CEST) (UTC+02)
timezones['LINT'] = timezone('Pacific/Kiritimati') # Line Islands Time (UTC+14) timezones["HAST"] = timezone("Pacific/Honolulu") # Hawaii-Aleutian Standard Time (UTC10)
timezones['MAGT'] = timezone('Asia/Magadan') # Magadan Time (UTC+12) timezones["HKT"] = timezone("Asia/Hong_Kong") # Hong Kong Time (UTC+08)
timezones['MART'] = timezone('Pacific/Marquesas') # Marquesas Islands Time (UTC09:30) timezones["HMT"] = timezone("Indian/Kerguelen") # Heard and McDonald Islands Time (UTC+05)
timezones['MAWT'] = timezone('Antarctica/Mawson') # Mawson Station Time (UTC+05) timezones["HOVST"] = timezone("Asia/Hovd") # Khovd Summer Time (UTC+08)
timezones['MDT'] = timezone('America/Denver') # Mountain Daylight Time (North America) (UTC06) timezones["HOVT"] = timezone("Asia/Hovd") # Khovd Standard Time (UTC+07)
timezones['MEST'] = timezone('Europe/Paris') # Middle European Summer Time Same zone as CEST (UTC+02) timezones["ICT"] = timezone("Asia/Ho_Chi_Minh") # Indochina Time (UTC+07)
timezones['MET'] = timezone('Europe/Berlin') # Middle European Time Same zone as CET (UTC+01) timezones["IDT"] = timezone("Asia/Jerusalem") # Israel Daylight Time (UTC+03)
timezones['MHT'] = timezone('Pacific/Kwajalein') # Marshall Islands (UTC+12) timezones["IOT"] = timezone("Etc/GMT+3") # Indian Ocean Time (UTC+03)
timezones['MIST'] = timezone('Antarctica/Macquarie') # Macquarie Island Station Time (UTC+11) timezones["IRDT"] = timezone("Asia/Tehran") # Iran Daylight Time (UTC+04:30)
timezones['MIT'] = timezone('Pacific/Marquesas') # Marquesas Islands Time (UTC09:30) timezones["IRKT"] = timezone("Asia/Irkutsk") # Irkutsk Time (UTC+08)
timezones['MMT'] = timezone('Asia/Rangoon') # Myanmar Standard Time (UTC+06:30) timezones["IRST"] = timezone("Asia/Tehran") # Iran Standard Time (UTC+03:30)
timezones['MSK'] = timezone('Europe/Moscow') # Moscow Time (UTC+03) timezones["IST"] = timezone("Asia/Kolkata") # Indian Standard Time (UTC+05:30)
timezones['MST'] = timezone('America/Denver') # Mountain Standard Time (North America) (UTC07) timezones["JST"] = timezone("Asia/Tokyo") # Japan Standard Time (UTC+09)
timezones['MUT'] = timezone('Indian/Mauritius') # Mauritius Time (UTC+04) timezones["KGT"] = timezone("Asia/Bishkek") # Kyrgyzstan time (UTC+06)
timezones['MVT'] = timezone('Indian/Maldives') # Maldives Time (UTC+05) timezones["KOST"] = timezone("Pacific/Kosrae") # Kosrae Time (UTC+11)
timezones['MYT'] = timezone('Asia/Kuching') # Malaysia Time (UTC+08) timezones["KRAT"] = timezone("Asia/Krasnoyarsk") # Krasnoyarsk Time (UTC+07)
timezones['NCT'] = timezone('Pacific/Noumea') # New Caledonia Time (UTC+11) timezones["KST"] = timezone("Asia/Seoul") # Korea Standard Time (UTC+09)
timezones['NDT'] = timezone('Canada/Newfoundland') # Newfoundland Daylight Time (UTC02:30) timezones["LHST"] = timezone("Australia/Lord_Howe") # Lord Howe Standard Time (UTC+10:30)
timezones['NFT'] = timezone('Pacific/Norfolk') # Norfolk Time (UTC+11) timezones["LINT"] = timezone("Pacific/Kiritimati") # Line Islands Time (UTC+14)
timezones['NPT'] = timezone('Asia/Kathmandu') # Nepal Time (UTC+05:45) timezones["MAGT"] = timezone("Asia/Magadan") # Magadan Time (UTC+12)
timezones['NST'] = timezone('Canada/Newfoundland') # Newfoundland Standard Time (UTC03:30) timezones["MART"] = timezone("Pacific/Marquesas") # Marquesas Islands Time (UTC09:30)
timezones['NT'] = timezone('Canada/Newfoundland') # Newfoundland Time (UTC03:30) timezones["MAWT"] = timezone("Antarctica/Mawson") # Mawson Station Time (UTC+05)
timezones['NUT'] = timezone('Pacific/Niue') # Niue Time (UTC11) timezones["MDT"] = timezone(
timezones['NZDT'] = timezone('Pacific/Auckland') # New Zealand Daylight Time (UTC+13) "America/Denver"
timezones['NZST'] = timezone('Pacific/Auckland') # New Zealand Standard Time (UTC+12) ) # Mountain Daylight Time (North America) (UTC06)
timezones['OMST'] = timezone('Asia/Omsk') # Omsk Time (UTC+06) timezones["MEST"] = timezone(
timezones['ORAT'] = timezone('Asia/Oral') # Oral Time (UTC+05) "Europe/Paris"
timezones['PDT'] = timezone('America/Los_Angeles') # Pacific Daylight Time (North America) (UTC07) ) # Middle European Summer Time Same zone as CEST (UTC+02)
timezones['PET'] = timezone('America/Lima') # Peru Time (UTC05) timezones["MET"] = timezone("Europe/Berlin") # Middle European Time Same zone as CET (UTC+01)
timezones['PETT'] = timezone('Asia/Kamchatka') # Kamchatka Time (UTC+12) timezones["MHT"] = timezone("Pacific/Kwajalein") # Marshall Islands (UTC+12)
timezones['PGT'] = timezone('Pacific/Port_Moresby') # Papua New Guinea Time (UTC+10) timezones["MIST"] = timezone("Antarctica/Macquarie") # Macquarie Island Station Time (UTC+11)
timezones['PHOT'] = timezone('Pacific/Enderbury') # Phoenix Island Time (UTC+13) timezones["MIT"] = timezone("Pacific/Marquesas") # Marquesas Islands Time (UTC09:30)
timezones['PKT'] = timezone('Asia/Karachi') # Pakistan Standard Time (UTC+05) timezones["MMT"] = timezone("Asia/Rangoon") # Myanmar Standard Time (UTC+06:30)
timezones['PMDT'] = timezone('America/Miquelon') # Saint Pierre and Miquelon Daylight time (UTC02) timezones["MSK"] = timezone("Europe/Moscow") # Moscow Time (UTC+03)
timezones['PMST'] = timezone('America/Miquelon') # Saint Pierre and Miquelon Standard Time (UTC03) timezones["MST"] = timezone(
timezones['PONT'] = timezone('Pacific/Pohnpei') # Pohnpei Standard Time (UTC+11) "America/Denver"
timezones['PST'] = timezone('America/Los_Angeles') # Pacific Standard Time (North America) (UTC08) ) # Mountain Standard Time (North America) (UTC07)
timezones['PYST'] = timezone('America/Asuncion') # Paraguay Summer Time (South America)[7] (UTC03) timezones["MUT"] = timezone("Indian/Mauritius") # Mauritius Time (UTC+04)
timezones['PYT'] = timezone('America/Asuncion') # Paraguay Time (South America)[8] (UTC04) timezones["MVT"] = timezone("Indian/Maldives") # Maldives Time (UTC+05)
timezones['RET'] = timezone('Indian/Reunion') # Réunion Time (UTC+04) timezones["MYT"] = timezone("Asia/Kuching") # Malaysia Time (UTC+08)
timezones['ROTT'] = timezone('Antarctica/Rothera') # Rothera Research Station Time (UTC03) timezones["NCT"] = timezone("Pacific/Noumea") # New Caledonia Time (UTC+11)
timezones['SAKT'] = timezone('Asia/Vladivostok') # Sakhalin Island time (UTC+11) timezones["NDT"] = timezone("Canada/Newfoundland") # Newfoundland Daylight Time (UTC02:30)
timezones['SAMT'] = timezone('Europe/Samara') # Samara Time (UTC+04) timezones["NFT"] = timezone("Pacific/Norfolk") # Norfolk Time (UTC+11)
timezones['SAST'] = timezone('Africa/Johannesburg') # South African Standard Time (UTC+02) timezones["NPT"] = timezone("Asia/Kathmandu") # Nepal Time (UTC+05:45)
timezones['SBT'] = timezone('Pacific/Guadalcanal') # Solomon Islands Time (UTC+11) timezones["NST"] = timezone("Canada/Newfoundland") # Newfoundland Standard Time (UTC03:30)
timezones['SCT'] = timezone('Indian/Mahe') # Seychelles Time (UTC+04) timezones["NT"] = timezone("Canada/Newfoundland") # Newfoundland Time (UTC03:30)
timezones['SGT'] = timezone('Asia/Singapore') # Singapore Time (UTC+08) timezones["NUT"] = timezone("Pacific/Niue") # Niue Time (UTC11)
timezones['SLST'] = timezone('Asia/Colombo') # Sri Lanka Standard Time (UTC+05:30) timezones["NZDT"] = timezone("Pacific/Auckland") # New Zealand Daylight Time (UTC+13)
timezones['SRET'] = timezone('Asia/Srednekolymsk') # Srednekolymsk Time (UTC+11) timezones["NZST"] = timezone("Pacific/Auckland") # New Zealand Standard Time (UTC+12)
timezones['SRT'] = timezone('America/Paramaribo') # Suriname Time (UTC03) timezones["OMST"] = timezone("Asia/Omsk") # Omsk Time (UTC+06)
timezones['SST'] = timezone('Asia/Singapore') # Singapore Standard Time (UTC+08) timezones["ORAT"] = timezone("Asia/Oral") # Oral Time (UTC+05)
timezones['SYOT'] = timezone('Antarctica/Syowa') # Showa Station Time (UTC+03) timezones["PDT"] = timezone(
timezones['TAHT'] = timezone('Pacific/Tahiti') # Tahiti Time (UTC10) "America/Los_Angeles"
timezones['TFT'] = timezone('Indian/Kerguelen') # Indian/Kerguelen (UTC+05) ) # Pacific Daylight Time (North America) (UTC07)
timezones['THA'] = timezone('Asia/Bangkok') # Thailand Standard Time (UTC+07) timezones["PET"] = timezone("America/Lima") # Peru Time (UTC05)
timezones['TJT'] = timezone('Asia/Dushanbe') # Tajikistan Time (UTC+05) timezones["PETT"] = timezone("Asia/Kamchatka") # Kamchatka Time (UTC+12)
timezones['TKT'] = timezone('Pacific/Fakaofo') # Tokelau Time (UTC+13) timezones["PGT"] = timezone("Pacific/Port_Moresby") # Papua New Guinea Time (UTC+10)
timezones['TLT'] = timezone('Asia/Dili') # Timor Leste Time (UTC+09) timezones["PHOT"] = timezone("Pacific/Enderbury") # Phoenix Island Time (UTC+13)
timezones['TMT'] = timezone('Asia/Ashgabat') # Turkmenistan Time (UTC+05) timezones["PKT"] = timezone("Asia/Karachi") # Pakistan Standard Time (UTC+05)
timezones['TOT'] = timezone('Pacific/Tongatapu') # Tonga Time (UTC+13) timezones["PMDT"] = timezone(
timezones['TVT'] = timezone('Pacific/Funafuti') # Tuvalu Time (UTC+12) "America/Miquelon"
timezones['ULAST'] = timezone('Asia/Ulan_Bator') # Ulaanbaatar Summer Time (UTC+09) ) # Saint Pierre and Miquelon Daylight time (UTC02)
timezones['ULAT'] = timezone('Asia/Ulan_Bator') # Ulaanbaatar Standard Time (UTC+08) timezones["PMST"] = timezone(
timezones['USZ1'] = timezone('Europe/Kaliningrad') # Kaliningrad Time (UTC+02) "America/Miquelon"
timezones['UTC'] = timezone('UTC') # Coordinated Universal Time (UTC±00) ) # Saint Pierre and Miquelon Standard Time (UTC03)
timezones['UYST'] = timezone('America/Montevideo') # Uruguay Summer Time (UTC02) timezones["PONT"] = timezone("Pacific/Pohnpei") # Pohnpei Standard Time (UTC+11)
timezones['UYT'] = timezone('America/Montevideo') # Uruguay Standard Time (UTC03) timezones["PST"] = timezone(
timezones['UZT'] = timezone('Asia/Tashkent') # Uzbekistan Time (UTC+05) "America/Los_Angeles"
timezones['VET'] = timezone('America/Caracas') # Venezuelan Standard Time (UTC04) ) # Pacific Standard Time (North America) (UTC08)
timezones['VLAT'] = timezone('Asia/Vladivostok') # Vladivostok Time (UTC+10) timezones["PYST"] = timezone(
timezones['VOLT'] = timezone('Europe/Volgograd') # Volgograd Time (UTC+04) "America/Asuncion"
timezones['VOST'] = timezone('Antarctica/Vostok') # Vostok Station Time (UTC+06) ) # Paraguay Summer Time (South America)[7] (UTC03)
timezones['VUT'] = timezone('Pacific/Efate') # Vanuatu Time (UTC+11) timezones["PYT"] = timezone("America/Asuncion") # Paraguay Time (South America)[8] (UTC04)
timezones['WAKT'] = timezone('Pacific/Wake') # Wake Island Time (UTC+12) timezones["RET"] = timezone("Indian/Reunion") # Réunion Time (UTC+04)
timezones['WAST'] = timezone('Africa/Lagos') # West Africa Summer Time (UTC+02) timezones["ROTT"] = timezone("Antarctica/Rothera") # Rothera Research Station Time (UTC03)
timezones['WAT'] = timezone('Africa/Lagos') # West Africa Time (UTC+01) timezones["SAKT"] = timezone("Asia/Vladivostok") # Sakhalin Island time (UTC+11)
timezones['WEST'] = timezone('Europe/London') # Western European Summer Time (UTC+01) timezones["SAMT"] = timezone("Europe/Samara") # Samara Time (UTC+04)
timezones['WET'] = timezone('Europe/London') # Western European Time (UTC±00) timezones["SAST"] = timezone("Africa/Johannesburg") # South African Standard Time (UTC+02)
timezones['WIT'] = timezone('Asia/Jakarta') # Western Indonesian Time (UTC+07) timezones["SBT"] = timezone("Pacific/Guadalcanal") # Solomon Islands Time (UTC+11)
timezones['WST'] = timezone('Australia/Perth') # Western Standard Time (UTC+08) timezones["SCT"] = timezone("Indian/Mahe") # Seychelles Time (UTC+04)
timezones['YAKT'] = timezone('Asia/Yakutsk') # Yakutsk Time (UTC+09) timezones["SGT"] = timezone("Asia/Singapore") # Singapore Time (UTC+08)
timezones['YEKT'] = timezone('Asia/Yekaterinburg') # Yekaterinburg Time (UTC+05) timezones["SLST"] = timezone("Asia/Colombo") # Sri Lanka Standard Time (UTC+05:30)
timezones["SRET"] = timezone("Asia/Srednekolymsk") # Srednekolymsk Time (UTC+11)
timezones["SRT"] = timezone("America/Paramaribo") # Suriname Time (UTC03)
timezones["SST"] = timezone("Asia/Singapore") # Singapore Standard Time (UTC+08)
timezones["SYOT"] = timezone("Antarctica/Syowa") # Showa Station Time (UTC+03)
timezones["TAHT"] = timezone("Pacific/Tahiti") # Tahiti Time (UTC10)
timezones["TFT"] = timezone("Indian/Kerguelen") # Indian/Kerguelen (UTC+05)
timezones["THA"] = timezone("Asia/Bangkok") # Thailand Standard Time (UTC+07)
timezones["TJT"] = timezone("Asia/Dushanbe") # Tajikistan Time (UTC+05)
timezones["TKT"] = timezone("Pacific/Fakaofo") # Tokelau Time (UTC+13)
timezones["TLT"] = timezone("Asia/Dili") # Timor Leste Time (UTC+09)
timezones["TMT"] = timezone("Asia/Ashgabat") # Turkmenistan Time (UTC+05)
timezones["TOT"] = timezone("Pacific/Tongatapu") # Tonga Time (UTC+13)
timezones["TVT"] = timezone("Pacific/Funafuti") # Tuvalu Time (UTC+12)
timezones["ULAST"] = timezone("Asia/Ulan_Bator") # Ulaanbaatar Summer Time (UTC+09)
timezones["ULAT"] = timezone("Asia/Ulan_Bator") # Ulaanbaatar Standard Time (UTC+08)
timezones["USZ1"] = timezone("Europe/Kaliningrad") # Kaliningrad Time (UTC+02)
timezones["UTC"] = timezone("UTC") # Coordinated Universal Time (UTC±00)
timezones["UYST"] = timezone("America/Montevideo") # Uruguay Summer Time (UTC02)
timezones["UYT"] = timezone("America/Montevideo") # Uruguay Standard Time (UTC03)
timezones["UZT"] = timezone("Asia/Tashkent") # Uzbekistan Time (UTC+05)
timezones["VET"] = timezone("America/Caracas") # Venezuelan Standard Time (UTC04)
timezones["VLAT"] = timezone("Asia/Vladivostok") # Vladivostok Time (UTC+10)
timezones["VOLT"] = timezone("Europe/Volgograd") # Volgograd Time (UTC+04)
timezones["VOST"] = timezone("Antarctica/Vostok") # Vostok Station Time (UTC+06)
timezones["VUT"] = timezone("Pacific/Efate") # Vanuatu Time (UTC+11)
timezones["WAKT"] = timezone("Pacific/Wake") # Wake Island Time (UTC+12)
timezones["WAST"] = timezone("Africa/Lagos") # West Africa Summer Time (UTC+02)
timezones["WAT"] = timezone("Africa/Lagos") # West Africa Time (UTC+01)
timezones["WEST"] = timezone("Europe/London") # Western European Summer Time (UTC+01)
timezones["WET"] = timezone("Europe/London") # Western European Time (UTC±00)
timezones["WIT"] = timezone("Asia/Jakarta") # Western Indonesian Time (UTC+07)
timezones["WST"] = timezone("Australia/Perth") # Western Standard Time (UTC+08)
timezones["YAKT"] = timezone("Asia/Yakutsk") # Yakutsk Time (UTC+09)
timezones["YEKT"] = timezone("Asia/Yekaterinburg") # Yekaterinburg Time (UTC+05)
return timezones return timezones

@ -85,7 +85,9 @@ class Nudity(commands.Cog):
if r["unsafe"] > 0.7: if r["unsafe"] > 0.7:
await nsfw_channel.send( await nsfw_channel.send(
"NSFW Image from {}".format(message.channel.mention), "NSFW Image from {}".format(message.channel.mention),
file=discord.File(image,), file=discord.File(
image,
),
) )
@commands.Cog.listener() @commands.Cog.listener()

Loading…
Cancel
Save