File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
55and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
7+ # v2.4.4  
8+ ### Fixed  
9+ Fixed a bug in activity command where it would fail to set the activity on bot restart if the activity type was ` playing `  
10+ 
711# v2.4.3  
812Moved selfhosted log viewer to a seperate repo. 
913This update shouldn't affect anyone.
Original file line number Diff line number Diff line change 2222SOFTWARE. 
2323""" 
2424
25- __version__  =  '2.4.3 ' 
25+ __version__  =  '2.4.4 ' 
2626
2727import  asyncio 
2828import  textwrap 
@@ -179,7 +179,7 @@ async def on_connect(self):
179179
180180        activity_type  =  self .config .get ('activity_type' )
181181        message  =  self .config .get ('activity_message' )
182-         if  activity_type  and  message :
182+         if  activity_type  is   not   None   and  message :
183183            url  =  self .config .get ('twitch_url' , 'https://www.twitch.tv/discord-modmail/' ) if  activity_type  ==  ActivityType .streaming  else  None 
184184            activity  =  discord .Activity (type = activity_type , name = message ,
185185                                        url = url )
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments