swimmerhair

Swimbot Error

Dec 1st, 2021
709
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Traceback (most recent call last):
  2.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped
  3.     ret = await coro(*args, **kwargs)
  4.   File "c:\Users\wmiller\OneDrive - Goddard Technologies\Desktop\Swimbot\FWA_Evo.py", line 145, in addclan
  5.     resp = await COC.Clan(clantag).clan_war_status
  6.   File "c:\Users\wmiller\OneDrive - Goddard Technologies\Desktop\Swimbot\COC.py", line 46, in __init__
  7.     self.clantag = format_tags(clantag)
  8.   File "c:\Users\wmiller\OneDrive - Goddard Technologies\Desktop\Swimbot\COC.py", line 14, in format_tags
  9.     return re.sub(r'[#| |]',r'',tag)
  10.   File "C:\Users\wmiller\AppData\Local\Programs\Python\Python37\lib\re.py", line 192, in sub
  11.     return _compile(pattern, flags).sub(repl, string, count)
  12. TypeError: expected string or bytes-like object
  13.  
RAW Paste Data